ViewUI::create

public static ViewUI::create(array $values = array()) Constructs a new entity object, without permanently saving it. Parameters array $values: (optional) An array of values to set, keyed by property name. If the entity type has bundles, the bundle key has to be specified. Return value static The entity object. Overrides EntityInterface::create File core/modules/views_ui/src/ViewUI.php, line 971 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public s

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::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::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::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::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::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::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

ViewUI::$render_time

How long the view takes to render in microseconds. Type: float File core/modules/views_ui/src/ViewUI.php, line 46 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public $render_time;