ViewListBuilder::$limit

The number of entities to list per page, or FALSE to list all entities. For example, set this to FALSE if the list uses client-side filters that require all entities to be listed (like the views overview). Type: int|false Overrides EntityListBuilder::$limit File core/modules/views_ui/src/ViewListBuilder.php, line 30 Class ViewListBuilder Defines a class to build a listing of view entities. Namespace Drupal\views_ui Code protected $limit;

ViewListBuilder::buildRow

public ViewListBuilder::buildRow(EntityInterface $view) Builds a row for an entity in the entity listing. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for this row of the list. Return value array A render array structure of fields for this entity. Overrides EntityListBuilder::buildRow See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/views_ui/src/ViewListBuilder.php, line 86 Class ViewListBuilder Defines a class to build a listing of view e

ViewListBuilder

Defines a class to build a listing of view entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityListBuilder implements EntityHandlerInterface, EntityListBuilderInterfaceclass \Drupal\Core\Config\Entity\ConfigEntityListBuilderclass \Drupal\views_ui\ViewListBuilder See also \Drupal\views\Entity\View File core/modules/views_ui/src/ViewListBuilder.php, line 18 Namespace Drupal\views_ui M

ViewFormBase::getDisplayTabs

public ViewFormBase::getDisplayTabs(ViewUI $view) Adds tabs for navigating across Displays when editing a View. This function can be called from hook_menu_local_tasks_alter() to implement these tabs as secondary local tasks, or it can be called from elsewhere if having them as secondary local tasks isn't desired. The caller is responsible for setting the active tab's #active property to TRUE. Parameters $display_id: The display_id which is edited on the current request. File core/modules/views

ViewFormBase::getDisplayLabel

public ViewFormBase::getDisplayLabel(ViewUI $view, $display_id, $check_changed = TRUE) Placeholder function for overriding $display['display_title']. @todo Remove this function once editing the display title is possible. File core/modules/views_ui/src/ViewFormBase.php, line 157 Class ViewFormBase Base form for Views forms. Namespace Drupal\views_ui Code public function getDisplayLabel(ViewUI $view, $display_id, $check_changed = TRUE) { $display = $view->get('display'); $title =

ViewFormBase::init

public ViewFormBase::init(FormStateInterface $form_state) Initialize the form state and the entity before the first form build. Overrides EntityForm::init File core/modules/views_ui/src/ViewFormBase.php, line 25 Class ViewFormBase Base form for Views forms. Namespace Drupal\views_ui Code public function init(FormStateInterface $form_state) { parent::init($form_state); // @todo Remove the need for this. $form_state->loadInclude('views_ui', 'inc', 'admin'); $form_state->se

ViewFormBase::isDefaultDisplayShown

public ViewFormBase::isDefaultDisplayShown(ViewUI $view) Controls whether or not the default display should have its own tab on edit. File core/modules/views_ui/src/ViewFormBase.php, line 142 Class ViewFormBase Base form for Views forms. Namespace Drupal\views_ui Code public function isDefaultDisplayShown(ViewUI $view) { // Always show the default display for advanced users who prefer that mode. $advanced_mode = \Drupal::config('views.settings')->get('ui.show.master_display');

ViewFormBase::prepareEntity

protected ViewFormBase::prepareEntity() Prepares the entity object before the form is built first. Overrides EntityForm::prepareEntity File core/modules/views_ui/src/ViewFormBase.php, line 47 Class ViewFormBase Base form for Views forms. Namespace Drupal\views_ui Code protected function prepareEntity() { // Determine the displays available for editing. if ($tabs = $this->getDisplayTabs($this->entity)) { if (empty($this->displayID)) { // If a display isn't specifi

ViewFormBase

Base form for Views forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\views_ui\ViewFormBase File core/modules/views_ui/src/ViewFormBase.php, line 13 Namespace Drupal\views_ui Members Name Modifiers Type D

ViewFormBase::$displayID

The name of the display used by the form. Type: string File core/modules/views_ui/src/ViewFormBase.php, line 20 Class ViewFormBase Base form for Views forms. Namespace Drupal\views_ui Code protected $displayID;