public function DevelEntityDefinitionUpdateManager::__construct in Devel Entity Updates 8
Same name and namespace in other branches
- 8.2 src/DevelEntityDefinitionUpdateManager.php \Drupal\devel_entity_updates\DevelEntityDefinitionUpdateManager::__construct()
- 3.x src/DevelEntityDefinitionUpdateManager.php \Drupal\devel_entity_updates\DevelEntityDefinitionUpdateManager::__construct()
- 3.0.x src/DevelEntityDefinitionUpdateManager.php \Drupal\devel_entity_updates\DevelEntityDefinitionUpdateManager::__construct()
Constructs a new EntityDefinitionUpdateManager.
Parameters
\Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface $entity_definition_update_manager: The entity definition update manager.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.
\Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface $entity_last_installed_schema_repository: The last installed schema repository service.
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager service.
\Drupal\Core\Entity\EntityTypeListenerInterface $entity_type_listener: The entity type listener interface.
\Drupal\Core\Field\FieldStorageDefinitionListenerInterface $field_storage_definition_listener: The field storage definition listener service.
File
- src/
DevelEntityDefinitionUpdateManager.php, line 79
Class
- DevelEntityDefinitionUpdateManager
- Development version of the entity definition update manager.
Namespace
Drupal\devel_entity_updatesCode
public function __construct(EntityDefinitionUpdateManagerInterface $entity_definition_update_manager, EntityLastInstalledSchemaRepositoryInterface $entity_last_installed_schema_repository, EntityTypeManagerInterface $entity_type_manager, EntityTypeListenerInterface $entity_type_listener, EntityFieldManagerInterface $entity_field_manager, FieldStorageDefinitionListenerInterface $field_storage_definition_listener) {
$this->entityDefinitionUpdateManager = $entity_definition_update_manager;
$this->entityLastInstalledSchemaRepository = $entity_last_installed_schema_repository;
$this->entityTypeManager = $entity_type_manager;
$this->entityTypeListener = $entity_type_listener;
$this->entityFieldManager = $entity_field_manager;
$this->fieldStorageDefinitionListener = $field_storage_definition_listener;
}