W3cubDocs

/Drupal 8

public function EntityLastInstalledSchemaRepositoryInterface::setLastInstalledDefinition

public EntityLastInstalledSchemaRepositoryInterface::setLastInstalledDefinition(EntityTypeInterface $entity_type)

Stores the entity type definition in the application state.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

Return value

$this

File

core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepositoryInterface.php, line 52

Class

EntityLastInstalledSchemaRepositoryInterface
Provides an interface for an installed entity definition repository.

Namespace

Drupal\Core\Entity

Code

public function setLastInstalledDefinition(EntityTypeInterface $entity_type);

© 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!EntityLastInstalledSchemaRepositoryInterface.php/function/EntityLastInstalledSchemaRepositoryInterface::setLastInstalledDefinition/8.1.x