public function EntityUpdatesCommands::__construct in Entity Update 2.0.x
DevelEntityUpdatesCommands constructor.
Parameters
\Drupal\Core\DependencyInjection\ClassResolverInterface $class_resolver: The class resolver.
\Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface $entity_definition_update_manager: The entity definition update manager.
File
- src/
Commands/ EntityUpdatesCommands.php, line 43
Class
- EntityUpdatesCommands
- Drush9 commands definitions.
Namespace
Drupal\entity_update\CommandsCode
public function __construct(ClassResolverInterface $class_resolver, EntityDefinitionUpdateManagerInterface $entity_definition_update_manager) {
parent::__construct();
$this->classResolver = $class_resolver;
$this->entityDefinitionUpdateManager = $entity_definition_update_manager;
}