ViewsEntitySchemaSubscriber::__construct

public ViewsEntitySchemaSubscriber::__construct(EntityManagerInterface $entity_manager)

Constructs a ViewsEntitySchemaSubscriber.

Parameters

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

File

core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 83

Class

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

Namespace

Drupal\views\EventSubscriber

Code

1
2
3
public function __construct(EntityManagerInterface $entity_manager) {
  $this->entityManager = $entity_manager;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.