public function EntityLastInstalledSchemaRepository::__construct

public EntityLastInstalledSchemaRepository::__construct(KeyValueFactoryInterface $key_value_factory)

Constructs a new EntityLastInstalledSchemaRepository.

Parameters

\Drupal\Core\KeyValueStore\KeyValueFactoryInterface $key_value_factory: The key-value factory.

File

core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepository.php, line 26

Class

EntityLastInstalledSchemaRepository
Provides a repository for installed entity definitions.

Namespace

Drupal\Core\Entity

Code

public function __construct(KeyValueFactoryInterface $key_value_factory) {
  $this->keyValueFactory = $key_value_factory;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityLastInstalledSchemaRepository.php/function/EntityLastInstalledSchemaRepository::__construct/8.1.x