ViewUIConverter::applies

public ViewUIConverter::applies($definition, $name, Route $route) Determines if the converter applies to a specific route and variable. Parameters mixed $definition: The parameter definition provided in the route options. string $name: The name of the parameter. \Symfony\Component\Routing\Route $route: The route to consider attaching to. Return value bool TRUE if the converter applies to the passed route and parameter, FALSE otherwise. Overrides AdminPathConfigEntityConverter::applies File co

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;

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