You are here

public function ViewsEntitySchemaSubscriber::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php \Drupal\views\EventSubscriber\ViewsEntitySchemaSubscriber::__construct()

Constructs a ViewsEntitySchemaSubscriber.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

File

core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 88
Contains \Drupal\views\EventSubscriber\ViewsEntitySchemaSubscriber.

Class

ViewsEntitySchemaSubscriber
Reacts to changes on entity types to update all views entities.

Namespace

Drupal\views\EventSubscriber

Code

public function __construct(EntityManagerInterface $entity_manager) {
  $this->entityManager = $entity_manager;
}