Reacts to changes on entity types to update all views entities.
Hierarchy
- class \Drupal\views\EventSubscriber\ViewsEntitySchemaSubscriber implements EntityTypeListenerInterface, EventSubscriberInterface uses EntityTypeEventSubscriberTrait
File
- core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 16
Namespace
Drupal\views\EventSubscriber
Members
| Name | Modifiers | Type | Description |
|---|---|---|---|
| EntityTypeEventSubscriberTrait::getEntityTypeEvents | public static | function | Gets the subscribed events. |
| EntityTypeEventSubscriberTrait::onEntityTypeCreate | public | function | Reacts to the creation of the entity type. Overrides EntityTypeListenerInterface::onEntityTypeCreate |
| EntityTypeEventSubscriberTrait::onEntityTypeEvent | public | function | Listener method for any entity type definition event. |
| ViewsEntitySchemaSubscriber::$entityManager | protected | property | The entity manager. |
| ViewsEntitySchemaSubscriber::baseTableRename | protected | function | Updates views if a base table is renamed. |
| ViewsEntitySchemaSubscriber::BASE_TABLE_RENAME | constant | Indicates that a base table got renamed. | |
| ViewsEntitySchemaSubscriber::dataTableAddition | protected | function | Updates views if a data table is added. |
| ViewsEntitySchemaSubscriber::dataTableRemoval | protected | function | Updates views if a data table is removed. |
| ViewsEntitySchemaSubscriber::dataTableRename | protected | function | Updates views if a data table is renamed. |
| ViewsEntitySchemaSubscriber::DATA_TABLE_ADDITION | constant | Indicates that a data table got added. | |
| ViewsEntitySchemaSubscriber::DATA_TABLE_REMOVAL | constant | Indicates that a data table got removed. | |
| ViewsEntitySchemaSubscriber::DATA_TABLE_RENAME | constant | Indicates that a data table got renamed. | |
| ViewsEntitySchemaSubscriber::getSubscribedEvents | public static | function | Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents |
| ViewsEntitySchemaSubscriber::onEntityTypeDelete | public | function | Reacts to the deletion of the entity type. Overrides EntityTypeEventSubscriberTrait::onEntityTypeDelete |
| ViewsEntitySchemaSubscriber::onEntityTypeUpdate | public | function | Reacts to the update of the entity type. Overrides EntityTypeEventSubscriberTrait::onEntityTypeUpdate |
| ViewsEntitySchemaSubscriber::processHandlers | protected | function | Applies a callable onto all handlers of all passed in views. |
| ViewsEntitySchemaSubscriber::revisionRemoval | protected | function | Updates views if revision support is removed |
| ViewsEntitySchemaSubscriber::REVISION_DATA_TABLE_ADDITION | constant | Indicates that a revision data table got added. | |
| ViewsEntitySchemaSubscriber::REVISION_DATA_TABLE_REMOVAL | constant | Indicates that a revision data table got removed. | |
| ViewsEntitySchemaSubscriber::REVISION_DATA_TABLE_RENAME | constant | Indicates that a revision data table got renamed. | |
| ViewsEntitySchemaSubscriber::REVISION_TABLE_ADDITION | constant | Indicates that a revision table got added. | |
| ViewsEntitySchemaSubscriber::REVISION_TABLE_REMOVAL | constant | Indicates that a revision table got removed. | |
| ViewsEntitySchemaSubscriber::REVISION_TABLE_RENAME | constant | Indicates that a revision table got renamed. | |
| ViewsEntitySchemaSubscriber::__construct | public | function | Constructs a ViewsEntitySchemaSubscriber. |
Please login to continue.