ViewUIConverter::$tempStoreFactory

Stores the tempstore factory. Type: \Drupal\user\SharedTempStoreFactory File core/modules/views_ui/src/ParamConverter/ViewUIConverter.php, line 37 Class ViewUIConverter Provides upcasting for a view entity to be used in the Views UI. Namespace Drupal\views_ui\ParamConverter Code protected $tempStoreFactory;

ViewUIConverter

Provides upcasting for a view entity to be used in the Views UI. Example: pattern: '/some/{view}/and/{bar}' options: parameters: view: type: 'entity:view' tempstore: TRUE The value for {view} will be converted to a view entity prepared for the Views UI and loaded from the views temp store, but it will not touch the value for {bar}. Hierarchy class \Drupal\Core\ParamConverter\EntityConverter implements ParamConverterInterfaceclass \Drupal\Core\ParamConverter\AdminPathConfigEntityConverterclass \

ViewUI::__construct

public ViewUI::__construct(ViewEntityInterface $storage) Constructs a View UI object. Parameters \Drupal\views\ViewEntityInterface $storage: The View storage object to wrap. File core/modules/views_ui/src/ViewUI.php, line 144 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function __construct(ViewEntityInterface $storage) { $this->entityType = 'view'; $this->storage = $storage; }

ViewUI::__call

public ViewUI::__call($method, $args) Passes through all unknown calls onto the storage object. File core/modules/views_ui/src/ViewUI.php, line 894 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function __call($method, $args) { return call_user_func_array(array($this->storage, $method), $args); }

ViewUI::uuid

public ViewUI::uuid() Gets the entity UUID (Universally Unique Identifier). The UUID is guaranteed to be unique and can be used to identify an entity across multiple systems. Return value string|null The UUID of the entity, or NULL if the entity does not have one. Overrides EntityInterface::uuid File core/modules/views_ui/src/ViewUI.php, line 915 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function uuid() { return $this->storage->uu

ViewUI::urlInfo

public ViewUI::urlInfo($rel = 'edit-form', array $options = []) Gets the URL object for the entity. Parameters string $rel: The link relationship type, for example: canonical or edit-form. array $options: See \Drupal\Core\Routing\UrlGeneratorInterface::generateFromRoute() for the available options. Return value \Drupal\Core\Url The URL object. Overrides EntityInterface::urlInfo Deprecated in Drupal 8.0.0, intended to be removed in Drupal 9.0.0 Use \Drupal\Core\Entity\EntityInterface::toUrl(

ViewUI::url

public ViewUI::url($rel = 'edit-form', $options = array()) Gets the public URL for this entity. Parameters string $rel: The link relationship type, for example: canonical or edit-form. array $options: See \Drupal\Core\Routing\UrlGeneratorInterface::generateFromRoute() for the available options. Return value string The URL for this entity. Overrides EntityInterface::url Deprecated in Drupal 8.0.0, intended to be removed in Drupal 9.0.0 Please use toUrl() instead. See also \Drupal\Core\Enti

ViewUI::uriRelationships

public ViewUI::uriRelationships() Gets a list of URI relationships supported by this entity. Return value string[] An array of link relationships supported by this entity. Overrides EntityInterface::uriRelationships File core/modules/views_ui/src/ViewUI.php, line 1156 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function uriRelationships() { return $this->storage->uriRelationships(); }

ViewUI::unsetThirdPartySetting

public ViewUI::unsetThirdPartySetting($module, $key) Unsets a third-party setting. Parameters string $module: The module providing the third-party setting. string $key: The setting name. Return value mixed The value. Overrides ThirdPartySettingsInterface::unsetThirdPartySetting File core/modules/views_ui/src/ViewUI.php, line 1290 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function unsetThirdPartySetting($module, $key) { return $this->

ViewUI::trustData

public ViewUI::trustData() Sets that the data should be trusted. If the data is trusted then dependencies will not be calculated on save and schema will not be used to cast the values. Generally this is only used during module and theme installation. Once the config entity has been saved the data will no longer be marked as trusted. This is an optimization for creation of configuration during installation. Return value $this Overrides ConfigEntityInterface::trustData See also \Drupal\Core\Con