You are here

public function CleanUpStubsEvent::__construct in Acquia Content Hub 8.2

CleanUpStubsEvent constructor.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity interface.

\Drupal\depcalc\DependencyStack $stack: The dependency stack.

File

src/Event/CleanUpStubsEvent.php, line 46

Class

CleanUpStubsEvent
Event to clean up stubs after import.

Namespace

Drupal\acquia_contenthub\Event

Code

public function __construct(EntityInterface $entity, DependencyStack $stack) {
  $this->entity = $entity;
  $this->stack = $stack;
}