ViewUI::label

public ViewUI::label() Gets the label of the entity. Return value string|null The label of the entity, or NULL if there is no label defined. Overrides EntityInterface::label File core/modules/views_ui/src/ViewUI.php, line 1020 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function label() { return $this->storage->label(); }

ViewUI::link

public ViewUI::link($text = NULL, $rel = 'edit-form', array $options = []) Deprecated way of generating a link to the entity. See toLink(). 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

ViewUI::isUninstalling

public ViewUI::isUninstalling() Returns whether this entity is being changed during the uninstall process. If you are writing code that responds to a change in this entity (insert, update, delete, presave, etc.), and your code would result in a configuration change (whether related to this configuration entity, another configuration entity, or non-entity configuration) or your code would result in a change to this entity itself, you need to check and see if this entity change is part of an unin

ViewUI::isInstallable

public ViewUI::isInstallable() Checks whether this entity is installable. For example, a default view might not be installable if the base table doesn't exist. @retun bool TRUE if the entity is installable, FALSE otherwise. Overrides ConfigEntityInterface::isInstallable File core/modules/views_ui/src/ViewUI.php, line 1262 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function isInstallable() { return $this->storage->isInstallable(); }

ViewUI::isSyncing

public ViewUI::isSyncing() Returns whether this entity is being changed as part of an import process. If you are writing code that responds to a change in this entity (insert, update, delete, presave, etc.), and your code would result in a configuration change (whether related to this configuration entity, another configuration entity, or non-entity configuration) or your code would result in a change to this entity itself, you need to check and see if this entity change is part of an import pr

ViewUI::isNew

public ViewUI::isNew() Determines whether the entity is new. Usually an entity is new if no ID exists for it yet. However, entities may be enforced to be new with existing IDs too. Return value bool TRUE if the entity is new, or FALSE if the entity has already been saved. Overrides EntityInterface::isNew See also \Drupal\Core\Entity\EntityInterface::enforceIsNew() File core/modules/views_ui/src/ViewUI.php, line 922 Class ViewUI Stores UI related temporary settings. Namespace Drupal\vi

ViewUI::isLocked

public ViewUI::isLocked() Returns whether the current view is locked. Return value bool TRUE if the view is locked, FALSE otherwise. File core/modules/views_ui/src/ViewUI.php, line 887 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function isLocked() { return is_object($this->lock) && ($this->lock->owner != \Drupal::currentUser()->id()); }

ViewUI::getTypedData

public ViewUI::getTypedData() Gets a typed data object for this entity object. The returned typed data object wraps this entity and allows dealing with entities based on the generic typed data API. Return value \Drupal\Core\TypedData\ComplexDataInterface The typed data object for this entity. Overrides EntityInterface::getTypedData See also \Drupal\Core\TypedData\TypedDataInterface File core/modules/views_ui/src/ViewUI.php, line 1248 Class ViewUI Stores UI related temporary settings. N

ViewUI::hasTrustedData

public ViewUI::hasTrustedData() Gets whether on not the data is trusted. Return value bool TRUE if the configuration data is trusted, FALSE if not. Overrides ConfigEntityInterface::hasTrustedData File core/modules/views_ui/src/ViewUI.php, line 1311 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function hasTrustedData() { return $this->storage->hasTrustedData(); }

ViewUI::id

public ViewUI::id() Gets the identifier. Return value string|int|null The entity identifier, or NULL if the object does not yet have an identifier. Overrides EntityInterface::id File core/modules/views_ui/src/ViewUI.php, line 908 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function id() { return $this->storage->id(); }