function EntityLastInstalledSchemaRepositoryInterface::setLastInstalledDefinition
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepositoryInterface.php \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface::setLastInstalledDefinition()
- 8.9.x core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepositoryInterface.php \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface::setLastInstalledDefinition()
- 11.x core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepositoryInterface.php \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface::setLastInstalledDefinition()
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 80
Class
- EntityLastInstalledSchemaRepositoryInterface
- Provides an interface for an installed entity definition repository.
Namespace
Drupal\Core\EntityCode
public function setLastInstalledDefinition(EntityTypeInterface $entity_type);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.