ViewUI::get

public ViewUI::get($property_name, $langcode = NULL) Returns the value of a property. Parameters string $property_name: The name of the property that should be returned. Return value mixed The property if it exists, or NULL otherwise. Overrides ConfigEntityInterface::get File core/modules/views_ui/src/ViewUI.php, line 152 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function get($property_name, $langcode = NULL) { if (property_exists($thi

ViewUI::enforceIsNew

public ViewUI::enforceIsNew($value = TRUE) Enforces an entity to be new. Allows migrations to create entities with pre-defined IDs by forcing the entity to be new before saving. Parameters bool $value: (optional) Whether the entity should be forced to be new. Defaults to TRUE. Return value $this Overrides EntityInterface::enforceIsNew See also \Drupal\Core\Entity\EntityInterface::isNew() File core/modules/views_ui/src/ViewUI.php, line 1027 Class ViewUI Stores UI related temporary settin

ViewUI::endQueryCapture

public ViewUI::endQueryCapture() Add the list of queries run during render to buildinfo. See also ViewUI::startQueryCapture() File core/modules/views_ui/src/ViewUI.php, line 509 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function endQueryCapture() { $queries = Database::getLog('views'); $this->additionalQueries = $queries; }

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

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