View::createDuplicate

public View::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 ConfigEntityBase::createDuplicate File core/modules/views/src/Entity/View.php, line 132 Class View Defines a View configuration entity class. Namespace Drupal\views\Entity Code public function createDuplicate() { $duplicate = parent::createDuplicate(); unset($duplicate->executable)

View::generateDisplayId

protected View::generateDisplayId($plugin_id) Generates a display ID of a certain plugin type. Parameters string $plugin_id: Which plugin should be used for the new display ID. Return value string File core/modules/views/src/Entity/View.php, line 208 Class View Defines a View configuration entity class. Namespace Drupal\views\Entity Code protected function generateDisplayId($plugin_id) { // 'default' is singular and is unique, so just go with 'default' // for it. For all others,

View::$id

The unique ID of the view. Type: string File core/modules/views/src/Entity/View.php, line 55 Class View Defines a View configuration entity class. Namespace Drupal\views\Entity Code protected $id = NULL;

View::$label

The label of the view. File core/modules/views/src/Entity/View.php, line 60 Class View Defines a View configuration entity class. Namespace Drupal\views\Entity Code protected $label;

View::$tag

The "tags" of a view. The tags are stored as a single string, though it is used as multiple tags for example in the views overview. Type: string File core/modules/views/src/Entity/View.php, line 77 Class View Defines a View configuration entity class. Namespace Drupal\views\Entity Code protected $tag = '';

View::addCacheMetadata

protected View::addCacheMetadata() Fills in the cache metadata of this view. Cache metadata is set per view and per display, and ends up being stored in the view's configuration. This allows Views to determine very efficiently: the max-age the cache contexts the cache tags In other words: this allows us to do the (expensive) work of initializing Views plugins and handlers to determine their effect on the cacheability of a view at save time rather than at runtime. File core/modules/views/src/E

View::$executable

Stores a reference to the executable version of this view. Type: \Drupal\views\ViewExecutable File core/modules/views/src/Entity/View.php, line 108 Class View Defines a View configuration entity class. Namespace Drupal\views\Entity Code protected $executable;

View::$module

The module implementing this view. Type: string File core/modules/views/src/Entity/View.php, line 115 Class View Defines a View configuration entity class. Namespace Drupal\views\Entity Code protected $module = 'views';

View::$display

Stores all display handlers of this view. An array containing Drupal\views\Plugin\views\display\DisplayPluginBase objects. Type: array File core/modules/views/src/Entity/View.php, line 94 Class View Defines a View configuration entity class. Namespace Drupal\views\Entity Code protected $display = array();

View::$description

The description of the view, which is used only in the interface. Type: string File core/modules/views/src/Entity/View.php, line 67 Class View Defines a View configuration entity class. Namespace Drupal\views\Entity Code protected $description = '';