public function EntityHierarchyCommands::__construct in Entity Reference Hierarchy 3.x
Same name and namespace in other branches
- 8.2 src/Commands/EntityHierarchyCommands.php \Drupal\entity_hierarchy\Commands\EntityHierarchyCommands::__construct()
EntityHierarchyCommands constructor.
Parameters
\Drupal\entity_hierarchy\Storage\TreeRebuilder $treeRebuilder:
File
- src/
Commands/ EntityHierarchyCommands.php, line 24
Class
- EntityHierarchyCommands
- Drush commands.
Namespace
Drupal\entity_hierarchy\CommandsCode
public function __construct($treeRebuilder) {
parent::__construct();
$this->treeRebuilder = $treeRebuilder;
}