ViewEntityInterface::duplicateDisplayAsType

public ViewEntityInterface::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. File core/modules/views/src/ViewEntityInterface.php, line 49 Class ViewEntityInterface Defines

ViewEntityInterface::getDisplay

public &ViewEntityInterface::getDisplay($display_id) Retrieves a specific display's configuration by reference. Parameters string $display_id: The display ID to retrieve, e.g., 'default', 'page_1', 'block_2'. Return value array A reference to the specified display configuration. File core/modules/views/src/ViewEntityInterface.php, line 29 Class ViewEntityInterface Defines an interface for View storage classes. Namespace Drupal\views Code public function &getDisplay($display_i

ViewEntityInterface::getExecutable

public ViewEntityInterface::getExecutable() Gets an executable instance for this view. Return value \Drupal\views\ViewExecutable A view executable instance. File core/modules/views/src/ViewEntityInterface.php, line 18 Class ViewEntityInterface Defines an interface for View storage classes. Namespace Drupal\views Code public function getExecutable();

ViewEntityInterface::mergeDefaultDisplaysOptions

public ViewEntityInterface::mergeDefaultDisplaysOptions() Add defaults to the display options. File core/modules/views/src/ViewEntityInterface.php, line 34 Class ViewEntityInterface Defines an interface for View storage classes. Namespace Drupal\views Code public function mergeDefaultDisplaysOptions();

ViewExecutable

Represents a view as a whole. An object to contain all of the data to generate a view, plus the member functions to build the view query, execute the query and render the output. Hierarchy class \Drupal\views\ViewExecutable implements \Serializable uses DependencySerializationTrait File core/modules/views/src/ViewExecutable.php, line 22 Namespace Drupal\views Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds protected property An array of

ViewExecutable::$ajaxEnabled

Whether this view uses AJAX. Type: bool File core/modules/views/src/ViewExecutable.php, line 69 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code protected $ajaxEnabled = FALSE;

ViewExecutable::$args

Any arguments that have been passed into the view. Type: array File core/modules/views/src/ViewExecutable.php, line 55 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public $args = array();

ViewExecutable::$argument

Stores the argument handlers which are initialized on this view. Type: \Drupal\views\Plugin\views\argument\ArgumentPluginBase[] File core/modules/views/src/ViewExecutable.php, line 269 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public $argument;

ViewExecutable::$attachment_after

Attachments to place after the view. Type: array File core/modules/views/src/ViewExecutable.php, line 122 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public $attachment_after = array();

ViewExecutable::$attachment_before

Attachments to place before the view. Type: array() File core/modules/views/src/ViewExecutable.php, line 115 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public $attachment_before = array();