Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntitySchemaSubscriber.php

function EntitySchemaSubscriber::__construct

Constructs a new EntitySchemaSubscriber.

Parameters

\Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface $entityDefinitionUpdateManager: Definition update manager.

\Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface $entityLastInstalledSchemaRepository: Last definitions.

\Drupal\workspaces\WorkspaceInformationInterface $workspace_information: The workspace information service.

File

core/modules/workspaces/src/EventSubscriber/EntitySchemaSubscriber.php, line 54

Class

EntitySchemaSubscriber
Defines a class for listening to entity schema changes.

Namespace

Drupal\workspaces\EventSubscriber

Code

public function __construct(EntityDefinitionUpdateManagerInterface $entityDefinitionUpdateManager, EntityLastInstalledSchemaRepositoryInterface $entityLastInstalledSchemaRepository, WorkspaceInformationInterface $workspace_information) {
    $this->entityDefinitionUpdateManager = $entityDefinitionUpdateManager;
    $this->entityLastInstalledSchemaRepository = $entityLastInstalledSchemaRepository;
    $this->workspaceInfo = $workspace_information;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal