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(); }

ViewUI::toLink

public ViewUI::toLink($text = NULL, $rel = 'edit-form', array $options = []) Generates the HTML for a link to this entity. Parameters string|null $text: (optional) The link text for the anchor tag as a translated string. If NULL, it will use the entity's label. Defaults to NULL. string $rel: (optional) The link relationship type. Defaults to 'canonical'. array $options: See \Drupal\Core\Routing\UrlGeneratorInterface::generateFromRoute() for the available options. Return value \Drupal\Core\Lin

ViewUI::toUrl

public ViewUI::toUrl($rel = 'edit-form', array $options = []) Gets the URL object for the entity. The entity must have an id already. Content entities usually get their IDs by saving them. URI templates might be set in the links array in an annotation, for example: links = { "canonical" = "/node/{node}", "edit-form" = "/node/{node}/edit", "version-history" = "/node/{node}/revisions" } or specified in a callback function set like: uri_callback = "comment_uri", If the path is not set in

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

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::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::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::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::__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); }