ViewsEntitySchemaSubscriber::$viewsToSave

Same name in other branches
  1. 10 core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php \Drupal\views\EventSubscriber\ViewsEntitySchemaSubscriber::viewsToSave
  2. 11.x core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php \Drupal\views\EventSubscriber\ViewsEntitySchemaSubscriber::viewsToSave

Array of views that need to be saved, indexed by view name.

Type: \Drupal\views\ViewEntityInterface[]

File

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

Class

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

Namespace

Drupal\views\EventSubscriber

Code

protected $viewsToSave = [];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.