function EntityDefinitionUpdateManagerInterface::installEntityType
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::installEntityType()
- 10 core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::installEntityType()
- 11.x core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::installEntityType()
Installs a new entity type definition.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
1 method overrides EntityDefinitionUpdateManagerInterface::installEntityType()
- EntityDefinitionUpdateManager::installEntityType in core/
lib/ Drupal/ Core/ Entity/ EntityDefinitionUpdateManager.php
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityDefinitionUpdateManagerInterface.php, line 153
Class
- EntityDefinitionUpdateManagerInterface
- Defines an interface for managing entity definition updates.
Namespace
Drupal\Core\EntityCode
public function installEntityType(EntityTypeInterface $entity_type);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.