function EntityLastInstalledSchemaRepository::getLastInstalledDefinition
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepository.php \Drupal\Core\Entity\EntityLastInstalledSchemaRepository::getLastInstalledDefinition()
- 8.9.x core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepository.php \Drupal\Core\Entity\EntityLastInstalledSchemaRepository::getLastInstalledDefinition()
- 10 core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepository.php \Drupal\Core\Entity\EntityLastInstalledSchemaRepository::getLastInstalledDefinition()
Overrides EntityLastInstalledSchemaRepositoryInterface::getLastInstalledDefinition
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityLastInstalledSchemaRepository.php, line 52
Class
- EntityLastInstalledSchemaRepository
- Provides a repository for installed entity definitions.
Namespace
Drupal\Core\EntityCode
public function getLastInstalledDefinition($entity_type_id) {
return $this->getLastInstalledDefinitions()[$entity_type_id] ?? NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.