ViewUI::getCacheTags

public ViewUI::getCacheTags() The cache tags associated with this object. When this object is modified, these cache tags will be invalidated. Return value string[] A set of cache tags. Overrides CacheableDependencyInterface::getCacheTags File core/modules/views_ui/src/ViewUI.php, line 1234 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function getCacheTags() { return $this->storage->getCacheTags(); }

ViewUI::getCacheContexts

public ViewUI::getCacheContexts() The cache contexts associated with this object. These identify a specific variation/representation of the object. Cache contexts are tokens: placeholders that are converted to cache keys by the @cache_contexts_manager service. The replacement value depends on the request context (the current URL, language, and so on). They're converted before storing an object in cache. Return value string[] An array of cache context tokens, used to generate a cache ID. Overri

ViewUI::disable

public ViewUI::disable() Disables the configuration entity. Return value $this Overrides ConfigEntityInterface::disable File core/modules/views_ui/src/ViewUI.php, line 1062 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function disable() { return $this->storage->disable(); }

ViewUI::duplicateDisplayAsType

public ViewUI::duplicateDisplayAsType($old_display_id, $new_display_type) Duplicates an existing display into a new display type. For example clone to display a page display as a block display. Parameters string $old_display_id: The origin of the duplicated display. string $new_display_type: The display type of the new display. Return value string The display ID of the new display. Overrides ViewEntityInterface::duplicateDisplayAsType File core/modules/views_ui/src/ViewUI.php, line 1142 Cl

ViewUI::endQueryCapture

public ViewUI::endQueryCapture() Add the list of queries run during render to buildinfo. See also ViewUI::startQueryCapture() File core/modules/views_ui/src/ViewUI.php, line 509 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function endQueryCapture() { $queries = Database::getLog('views'); $this->additionalQueries = $queries; }

ViewUI::enable

public ViewUI::enable() Enables the configuration entity. Return value $this Overrides ConfigEntityInterface::enable File core/modules/views_ui/src/ViewUI.php, line 1055 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function enable() { return $this->storage->enable(); }

ViewUI::delete

public ViewUI::delete() Deletes an entity permanently. Throws \Drupal\Core\Entity\EntityStorageException In case of failures an exception is thrown. Overrides EntityInterface::delete File core/modules/views_ui/src/ViewUI.php, line 978 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function delete() { return $this->storage->delete(); }

ViewUI::bundle

public ViewUI::bundle() Gets the bundle of the entity. Return value string The bundle of the entity. Defaults to the entity type ID if the entity type does not make use of different bundles. Overrides EntityInterface::bundle File core/modules/views_ui/src/ViewUI.php, line 936 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function bundle() { return $this->storage->bundle(); }

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

public ViewUI::cacheSet() Sets a cached view object in the user tempstore. File core/modules/views_ui/src/ViewUI.php, line 857 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function cacheSet() { if ($this->isLocked()) { drupal_set_message(t('Changes cannot be made to a locked view.'), 'error'); return; } // Let any future object know that this view has changed. $this->changed = TRUE; $executable = $this->getExecuta