ViewUI::addFormToStack

public ViewUI::addFormToStack($key, $display_id, $type, $id = NULL, $top = FALSE, $rebuild_keys = FALSE) Add another form to the stack; clicking 'apply' will go to this form rather than closing the ajax popup. File core/modules/views_ui/src/ViewUI.php, line 379 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function addFormToStack($key, $display_id, $type, $id = NULL, $top = FALSE, $rebuild_keys = FALSE) { // Reset the cache of IDs. Drupal ra

ViewUI::bundle

public ViewUI::bundle() Gets the bundle of the entity. Return value string The bundle of the entity. Defaults to the entity type ID if the entity type does not make use of different bundles. Overrides EntityInterface::bundle File core/modules/views_ui/src/ViewUI.php, line 936 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function bundle() { return $this->storage->bundle(); }

ViewUI::cacheSet

public ViewUI::cacheSet() Sets a cached view object in the user tempstore. File core/modules/views_ui/src/ViewUI.php, line 857 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function cacheSet() { if ($this->isLocked()) { drupal_set_message(t('Changes cannot be made to a locked view.'), 'error'); return; } // Let any future object know that this view has changed. $this->changed = TRUE; $executable = $this->getExecuta

ViewUI::calculateDependencies

public ViewUI::calculateDependencies() Calculates dependencies and stores them in the dependency property. Return value $this Overrides ConfigEntityInterface::calculateDependencies See also \Drupal\Core\Config\Entity\ConfigDependencyManager File core/modules/views_ui/src/ViewUI.php, line 1184 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function calculateDependencies() { $this->storage->calculateDependencies(); return $this; }

ViewUI::create

public static ViewUI::create(array $values = array()) Constructs a new entity object, without permanently saving it. Parameters array $values: (optional) An array of values to set, keyed by property name. If the entity type has bundles, the bundle key has to be specified. Return value static The entity object. Overrides EntityInterface::create File core/modules/views_ui/src/ViewUI.php, line 971 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public s

ViewUI::createDuplicate

public ViewUI::createDuplicate() Creates a duplicate of the entity. Return value static A clone of $this with all identifiers unset, so saving it inserts a new entity into the storage system. Overrides EntityInterface::createDuplicate File core/modules/views_ui/src/ViewUI.php, line 950 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function createDuplicate() { return $this->storage->createDuplicate(); }

ViewUI::delete

public ViewUI::delete() Deletes an entity permanently. Throws \Drupal\Core\Entity\EntityStorageException In case of failures an exception is thrown. Overrides EntityInterface::delete File core/modules/views_ui/src/ViewUI.php, line 978 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function delete() { return $this->storage->delete(); }

ViewUI::disable

public ViewUI::disable() Disables the configuration entity. Return value $this Overrides ConfigEntityInterface::disable File core/modules/views_ui/src/ViewUI.php, line 1062 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function disable() { return $this->storage->disable(); }

ViewUI::duplicateDisplayAsType

public ViewUI::duplicateDisplayAsType($old_display_id, $new_display_type) Duplicates an existing display into a new display type. For example clone to display a page display as a block display. Parameters string $old_display_id: The origin of the duplicated display. string $new_display_type: The display type of the new display. Return value string The display ID of the new display. Overrides ViewEntityInterface::duplicateDisplayAsType File core/modules/views_ui/src/ViewUI.php, line 1142 Cl

ViewUI::enable

public ViewUI::enable() Enables the configuration entity. Return value $this Overrides ConfigEntityInterface::enable File core/modules/views_ui/src/ViewUI.php, line 1055 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function enable() { return $this->storage->enable(); }