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

public ViewUI::enforceIsNew($value = TRUE) Enforces an entity to be new. Allows migrations to create entities with pre-defined IDs by forcing the entity to be new before saving. Parameters bool $value: (optional) Whether the entity should be forced to be new. Defaults to TRUE. Return value $this Overrides EntityInterface::enforceIsNew See also \Drupal\Core\Entity\EntityInterface::isNew() File core/modules/views_ui/src/ViewUI.php, line 1027 Class ViewUI Stores UI related temporary settin

ViewUI::get

public ViewUI::get($property_name, $langcode = NULL) Returns the value of a property. Parameters string $property_name: The name of the property that should be returned. Return value mixed The property if it exists, or NULL otherwise. Overrides ConfigEntityInterface::get File core/modules/views_ui/src/ViewUI.php, line 152 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function get($property_name, $langcode = NULL) { if (property_exists($thi

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

public ViewUI::getCacheMaxAge() The maximum age for which this object may be cached. Return value int The maximum time in seconds that this object may be cached. Overrides CacheableDependencyInterface::getCacheMaxAge File core/modules/views_ui/src/ViewUI.php, line 1241 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function getCacheMaxAge() { return $this->storage->getCacheMaxAge(); }

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

public ViewUI::getCacheTagsToInvalidate() Returns the cache tags that should be used to invalidate caches. This will not return additional cache tags added through addCacheTags(). Return value string[] Set of cache tags. Overrides EntityInterface::getCacheTagsToInvalidate See also \Drupal\Core\Cache\RefinableCacheableDependencyInterface::addCacheTags() \Drupal\Core\Cache\CacheableDependencyInterface::getCacheTags() File core/modules/views_ui/src/ViewUI.php, line 1340 Class ViewUI Stores

ViewUI::getConfigDependencyKey

public ViewUI::getConfigDependencyKey() Gets the key that is used to store configuration dependencies. Return value string The key to be used in configuration dependencies when storing dependencies on entities of this type. Overrides EntityInterface::getConfigDependencyKey See also \Drupal\Core\Entity\EntityTypeInterface::getConfigDependencyKey() File core/modules/views_ui/src/ViewUI.php, line 1192 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code publ

ViewUI::getConfigDependencyName

public ViewUI::getConfigDependencyName() Gets the configuration dependency name. Configuration entities can depend on content and configuration entities. They store an array of content and config dependency names in their "dependencies" key. Return value string The configuration dependency name. Overrides EntityInterface::getConfigDependencyName See also \Drupal\Core\Config\Entity\ConfigDependencyManager File core/modules/views_ui/src/ViewUI.php, line 1199 Class ViewUI Stores UI related

ViewUI::getConfigTarget

public ViewUI::getConfigTarget() Gets the configuration target identifier for the entity. Used to supply the correct format for storing a reference targeting this entity in configuration. Return value string The configuration target identifier. Overrides EntityInterface::getConfigTarget File core/modules/views_ui/src/ViewUI.php, line 1206 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function getConfigTarget() { return $this->storage->