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

public ViewUI::set($property_name, $value, $notify = TRUE) Sets the value of a property. Parameters string $property_name: The name of the property that should be set. mixed $value: The value the property should be set to. Return value $this Overrides ConfigEntityInterface::set File core/modules/views_ui/src/ViewUI.php, line 170 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function set($property_name, $value, $notify = TRUE) { if (propert

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

public static ViewUI::preCreate(EntityStorageInterface $storage, array &$values) Changes the values of an entity before it is created. Load defaults for example. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. mixed[] $values: An array of values to set, keyed by property name. If the entity type has bundles the bundle key has to be specified. Overrides EntityInterface::preCreate File core/modules/views_ui/src/ViewUI.php, line 1104 Class ViewUI