public function DevelEntityUpdatesCommands::__construct in Devel Entity Updates 3.0.x
Same name and namespace in other branches
- 8.2 src/Commands/DevelEntityUpdatesCommands.php \Drupal\devel_entity_updates\Commands\DevelEntityUpdatesCommands::__construct()
- 8 src/Commands/DevelEntityUpdatesCommands.php \Drupal\devel_entity_updates\Commands\DevelEntityUpdatesCommands::__construct()
- 3.x src/Commands/DevelEntityUpdatesCommands.php \Drupal\devel_entity_updates\Commands\DevelEntityUpdatesCommands::__construct()
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/ DevelEntityUpdatesCommands.php, line 42
Class
- DevelEntityUpdatesCommands
- Drush9 commands definitions.
Namespace
Drupal\devel_entity_updates\CommandsCode
public function __construct(ClassResolverInterface $class_resolver, EntityDefinitionUpdateManagerInterface $entity_definition_update_manager) {
parent::__construct();
$this->classResolver = $class_resolver;
$this->entityDefinitionUpdateManager = $entity_definition_update_manager;
}