You are here

public function DevelEntityUpdatesCommands::__construct in Devel Entity Updates 8.2

Same name and namespace in other branches
  1. 8 src/Commands/DevelEntityUpdatesCommands.php \Drupal\devel_entity_updates\Commands\DevelEntityUpdatesCommands::__construct()
  2. 3.x src/Commands/DevelEntityUpdatesCommands.php \Drupal\devel_entity_updates\Commands\DevelEntityUpdatesCommands::__construct()
  3. 3.0.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\Commands

Code

public function __construct(ClassResolverInterface $class_resolver, EntityDefinitionUpdateManagerInterface $entity_definition_update_manager) {
  parent::__construct();
  $this->classResolver = $class_resolver;
  $this->entityDefinitionUpdateManager = $entity_definition_update_manager;
}