ViewUI::setStatus

public ViewUI::setStatus($status) Sets the status of the configuration entity. Parameters bool $status: The status of the configuration entity. Return value $this Overrides ConfigEntityInterface::setStatus File core/modules/views_ui/src/ViewUI.php, line 163 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function setStatus($status) { return $this->storage->setStatus($status); }

ViewUI::setOriginalId

public ViewUI::setOriginalId($id) Sets the original ID. Parameters int|string|null $id: The new ID to set as original ID. If the entity supports renames, setting NULL will prevent an update from being considered a rename. Return value $this Overrides EntityInterface::setOriginalId File core/modules/views_ui/src/ViewUI.php, line 1083 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function setOriginalId($id) { return $this->storage->set

ViewUI::setThirdPartySetting

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

ViewUI::setSyncing

public ViewUI::setSyncing($syncing) Sets the status of the isSyncing flag. Parameters bool $status: The status of the sync flag. Return value $this Overrides ConfigEntityInterface::setSyncing File core/modules/views_ui/src/ViewUI.php, line 182 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function setSyncing($syncing) { $this->isSyncing = $syncing; }

ViewUI::referencedEntities

public ViewUI::referencedEntities() Gets a list of entities referenced by this entity. Return value \Drupal\Core\Entity\EntityInterface[] An array of entities. Overrides EntityInterface::referencedEntities File core/modules/views_ui/src/ViewUI.php, line 1163 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function referencedEntities() { return $this->storage->referencedEntities(); }

ViewUI::save

public ViewUI::save() Saves an entity permanently. When saving existing entities, the entity is assumed to be complete, partial updates of entities are not supported. Return value int Either SAVED_NEW or SAVED_UPDATED, depending on the operation performed. Throws \Drupal\Core\Entity\EntityStorageException In case of failures an exception is thrown. Overrides EntityInterface::save File core/modules/views_ui/src/ViewUI.php, line 985 Class ViewUI Stores UI related temporary settings. Name

ViewUI::preSave

public ViewUI::preSave(EntityStorageInterface $storage) Acts on an entity before the presave hook is invoked. Used before the entity is saved and before invoking the presave hook. Note that in case of translatable content entities this callback is only fired on their current translation. It is up to the developer to iterate over all translations if needed. This is different from its counterpart in the Field API, FieldItemListInterface::preSave(), which is fired on all field translations automat

ViewUI::renderPreview

public ViewUI::renderPreview($display_id, $args = array()) File core/modules/views_ui/src/ViewUI.php, line 515 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function renderPreview($display_id, $args = array()) { // Save the current path so it can be restored before returning from this function. $request_stack = \Drupal::requestStack(); $current_request = $request_stack->getCurrentRequest(); $executable = $this->getExecutable();

ViewUI::preDelete

public static ViewUI::preDelete(EntityStorageInterface $storage, array $entities) Acts on entities before they are deleted and before hooks are invoked. Used before the entities are deleted and before invoking the delete hook. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. \Drupal\Core\Entity\EntityInterface[] $entities: An array of entities. Overrides EntityInterface::preDelete File core/modules/views_ui/src/ViewUI.php, line 1117 Class ViewUI S

ViewUI::postDelete

public static ViewUI::postDelete(EntityStorageInterface $storage, array $entities) Acts on deleted entities before the delete hook is invoked. Used after the entities are deleted but before invoking the delete hook. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. \Drupal\Core\Entity\EntityInterface[] $entities: An array of entities. Overrides EntityInterface::postDelete File core/modules/views_ui/src/ViewUI.php, line 1123 Class ViewUI Stores UI r