ViewListBuilder::render

public ViewListBuilder::render() Builds the entity listing as renderable array for table.html.twig. @todo Add a link to add a new item to the #empty text. Overrides EntityListBuilder::render File core/modules/views_ui/src/ViewListBuilder.php, line 180 Class ViewListBuilder Defines a class to build a listing of view entities. Namespace Drupal\views_ui Code public function render() { $entities = $this->load(); $list['#type'] = 'container'; $list['#attributes']['id'] = 'views-en

ViewListBuilder::__construct

public ViewListBuilder::__construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, PluginManagerInterface $display_manager) Constructs a new ViewListBuilder object. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. \Drupal\Core\Entity\EntityStorageInterface $storage.: The entity storage class. \Drupal\Component\Plugin\PluginManagerInterface $display_manager: The views display plugin manager to use. Overrides EntityListBuilder::__co

ViewPageController

Defines a page controller to execute and render a view. Hierarchy class \Drupal\views\Routing\ViewPageController File core/modules/views/src/Routing/ViewPageController.php, line 11 Namespace Drupal\views\Routing Members Name Modifiers Type Description ViewPageController::handle public function Handler a response for a given view and display.

ViewPageController::handle

public ViewPageController::handle($view_id, $display_id, RouteMatchInterface $route_match) Handler a response for a given view and display. Parameters string $view_id: The ID of the view string $display_id: The ID of the display. \Drupal\Core\Routing\RouteMatchInterface $route_match: The route match. Return value null|void File core/modules/views/src/Routing/ViewPageController.php, line 24 Class ViewPageController Defines a page controller to execute and render a view. Namespace Drupa

Views

Static service container wrapper for views. Hierarchy class \Drupal\views\Views File core/modules/views/src/Views.php, line 8 Namespace Drupal\views Members Name Modifiers Type Description Views::$handlerTypes protected static property A static cache for handler types data. Views::$plugins protected static property A list of all available views plugin types. Views::$translationManager protected static property The translation manager. Views::analyzer

Views hooks

Hooks that allow other modules to implement the Views API. Parent topics Views overview Overview of the Views module API File core/modules/views/views.api.php, line 72 Describes hooks and plugins provided by the Views module.

Views overview

Overview of the Views module API The Views module is a generalized query and display engine, which can be used to make views (formatted lists, grids, feeds, and other output) of items (often entities, but can be other types of data). Developers can interact with Views in several ways: Provide plugins: Views plugins govern nearly every aspect of views, including querying (sorting, filtering, etc.) and display (at several levels of granularity, ranging from the entire view to the details of a fi

Views template files

Describes various views templates & overriding options. All views templates can be overridden with a variety of names, using the view, the display ID of the view, the display type of the view, or some combination thereof. For each view, there will be a minimum of two templates used. The first is used for all views: views-view.html.twig. The second template is determined by the style selected for the view. Note that certain aspects of the view can also change which style is used; for example

views-exposed-form.html.twig

Default theme implementation of a views exposed form. Available variables: form: A render element representing the form. See also template_preprocess_views_exposed_form() File core/modules/views/templates/views-exposed-form.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.

views-mini-pager.html.twig

Default theme implementation for a views mini-pager. Available variables: items: List of pager items. See also template_preprocess_views_mini_pager() File core/modules/views/templates/views-mini-pager.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.