ViewsEntitySchemaSubscriber::REVISION_TABLE_REMOVAL

Indicates that a revision table got removed. File core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 53 Class ViewsEntitySchemaSubscriber Reacts to changes on entity types to update all views entities. Namespace Drupal\views\EventSubscriber Code const REVISION_TABLE_REMOVAL = 6;

ViewsEntitySchemaSubscriber::REVISION_TABLE_ADDITION

Indicates that a revision table got added. File core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 48 Class ViewsEntitySchemaSubscriber Reacts to changes on entity types to update all views entities. Namespace Drupal\views\EventSubscriber Code const REVISION_TABLE_ADDITION = 5;

ViewsEntitySchemaSubscriber::REVISION_DATA_TABLE_RENAME

Indicates that a revision data table got renamed. File core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 58 Class ViewsEntitySchemaSubscriber Reacts to changes on entity types to update all views entities. Namespace Drupal\views\EventSubscriber Code const REVISION_DATA_TABLE_RENAME = 7;

ViewsEntitySchemaSubscriber::REVISION_DATA_TABLE_REMOVAL

Indicates that a revision data table got removed. File core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 68 Class ViewsEntitySchemaSubscriber Reacts to changes on entity types to update all views entities. Namespace Drupal\views\EventSubscriber Code const REVISION_DATA_TABLE_REMOVAL = 9;

ViewsEntitySchemaSubscriber::REVISION_DATA_TABLE_ADDITION

Indicates that a revision data table got added. File core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 63 Class ViewsEntitySchemaSubscriber Reacts to changes on entity types to update all views entities. Namespace Drupal\views\EventSubscriber Code const REVISION_DATA_TABLE_ADDITION = 8;

ViewsEntitySchemaSubscriber::revisionRemoval

protected ViewsEntitySchemaSubscriber::revisionRemoval($all_views, EntityTypeInterface $original) Updates views if revision support is removed Parameters \Drupal\views\Entity\View[] $all_views: All views. \Drupal\Core\Entity\EntityTypeInterface $original: The origin entity type. File core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 361 Class ViewsEntitySchemaSubscriber Reacts to changes on entity types to update all views entities. Namespace Drupal\views\Eve

ViewsEntitySchemaSubscriber::processHandlers

protected ViewsEntitySchemaSubscriber::processHandlers(array $all_views, callable $process) Applies a callable onto all handlers of all passed in views. Parameters \Drupal\views\Entity\View[] $all_views: All views entities. callable $process: A callable which retrieves a handler config array. File core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 225 Class ViewsEntitySchemaSubscriber Reacts to changes on entity types to update all views entities. Namespace Dr

ViewsEntitySchemaSubscriber::onEntityTypeUpdate

public ViewsEntitySchemaSubscriber::onEntityTypeUpdate(EntityTypeInterface $entity_type, EntityTypeInterface $original) Reacts to the update of the entity type. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The updated entity type definition. \Drupal\Core\Entity\EntityTypeInterface $original: The original entity type definition. Overrides EntityTypeEventSubscriberTrait::onEntityTypeUpdate File core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 97

ViewsEntitySchemaSubscriber::onEntityTypeDelete

public ViewsEntitySchemaSubscriber::onEntityTypeDelete(EntityTypeInterface $entity_type) Reacts to the deletion of the entity type. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type being deleted. Overrides EntityTypeEventSubscriberTrait::onEntityTypeDelete File core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 197 Class ViewsEntitySchemaSubscriber Reacts to changes on entity types to update all views entities. Namespace Drupal\

ViewsEntitySchemaSubscriber::getSubscribedEvents

public static ViewsEntitySchemaSubscriber::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $prio