ViewUI::calculateDependencies

public ViewUI::calculateDependencies() Calculates dependencies and stores them in the dependency property. Return value $this Overrides ConfigEntityInterface::calculateDependencies See also \Drupal\Core\Config\Entity\ConfigDependencyManager File core/modules/views_ui/src/ViewUI.php, line 1184 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function calculateDependencies() { $this->storage->calculateDependencies(); return $this; }

ViewUI::createDuplicate

public ViewUI::createDuplicate() Creates a duplicate of the entity. Return value static A clone of $this with all identifiers unset, so saving it inserts a new entity into the storage system. Overrides EntityInterface::createDuplicate File core/modules/views_ui/src/ViewUI.php, line 950 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function createDuplicate() { return $this->storage->createDuplicate(); }

ViewUI::addDisplay

public ViewUI::addDisplay($plugin_id = 'page', $title = NULL, $id = NULL) Adds a new display handler to the view, automatically creating an ID. Parameters string $plugin_id: (optional) The plugin type from the Views plugin annotation. Defaults to 'page'. string $title: (optional) The title of the display. Defaults to NULL. string $id: (optional) The ID to use, e.g., 'default', 'page_1', 'block_2'. Defaults to NULL. Return value string|bool The key to the display in $view->display, or FALSE

ViewUI::addCacheableDependency

public ViewUI::addCacheableDependency($other_object) Adds a dependency on an object: merges its cacheability metadata. Parameters \Drupal\Core\Cache\CacheableDependencyInterface|object $other_object: The dependency. If the object implements CacheableDependencyInterface, then its cacheability metadata will be used. Otherwise, the passed in object must be assumed to be uncacheable, so max-age 0 is set. Return value $this Overrides RefinableCacheableDependencyInterface::addCacheableDependency Se

ViewUI::addCacheTags

public ViewUI::addCacheTags(array $cache_tags) Adds cache tags. Parameters string[] $cache_tags: The cache tags to be added. Return value $this Overrides RefinableCacheableDependencyInterface::addCacheTags File core/modules/views_ui/src/ViewUI.php, line 1347 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function addCacheTags(array $cache_tags) { return $this->storage->addCacheTags($cache_tags); }

ViewUI::addFormToStack

public ViewUI::addFormToStack($key, $display_id, $type, $id = NULL, $top = FALSE, $rebuild_keys = FALSE) Add another form to the stack; clicking 'apply' will go to this form rather than closing the ajax popup. File core/modules/views_ui/src/ViewUI.php, line 379 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function addFormToStack($key, $display_id, $type, $id = NULL, $top = FALSE, $rebuild_keys = FALSE) { // Reset the cache of IDs. Drupal ra

ViewUI::addCacheContexts

public ViewUI::addCacheContexts(array $cache_contexts) Adds cache contexts. Parameters string[] $cache_contexts: The cache contexts to be added. Return value $this Overrides RefinableCacheableDependencyInterface::addCacheContexts File core/modules/views_ui/src/ViewUI.php, line 1326 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function addCacheContexts(array $cache_contexts) { return $this->storage->addCacheContexts($cache_contexts);

ViewUI::$temporary_options

Stores options temporarily while editing. Type: array File core/modules/views_ui/src/ViewUI.php, line 71 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public $temporary_options;

ViewUI::$stack

Stores a stack of UI forms to display. Type: array File core/modules/views_ui/src/ViewUI.php, line 78 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public $stack;

ViewUI::access

public ViewUI::access($operation = 'view', AccountInterface $account = NULL, $return_as_object = FALSE) Checks data value access. Parameters string $operation: The operation to be performed. \Drupal\Core\Session\AccountInterface $account: (optional) The user for which to check access, or NULL to check access for the current user. Defaults to NULL. bool $return_as_object: (optional) Defaults to FALSE. Return value bool|\Drupal\Core\Access\AccessResultInterface The access result. Returns a bool