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