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 \

ViewUIConverter::convert

public ViewUIConverter::convert($value, $definition, $name, array $defaults) Converts path variables to their corresponding objects. Parameters mixed $value: The raw value. mixed $definition: The parameter definition provided in the route options. string $name: The name of the parameter. array $defaults: The route defaults array. Return value mixed|null The converted parameter value. Overrides AdminPathConfigEntityConverter::convert File core/modules/views_ui/src/ParamConverter/ViewUIConverte

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

public ViewUI::toArray() Gets an array of all property values. Return value mixed[] An array of property values, keyed by property name. Overrides EntityInterface::toArray File core/modules/views_ui/src/ViewUI.php, line 1034 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function toArray() { return $this->storage->toArray(); }