You are here

public function EntityOperations::__construct in Workspace 8

Same name and namespace in other branches
  1. 8.2 src/EntityOperations.php \Drupal\workspace\EntityOperations::__construct()

Constructs a new Toolbar.

Parameters

\Drupal\multiversion\MultiversionManagerInterface $multiversion_manager:

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:

\Drupal\Core\Queue\QueueInterface $queue:

File

src/EntityOperations.php, line 34

Class

EntityOperations
Defines a class for reacting to entity events.

Namespace

Drupal\workspace

Code

public function __construct(MultiversionManagerInterface $multiversion_manager, EntityTypeManagerInterface $entity_type_manager, QueueFactory $queue) {
  $this->multiversionManager = $multiversion_manager;
  $this->entityTypeManager = $entity_type_manager;
  $this->queue = $queue;
}