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

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

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::getDisplaysList

protected ViewListBuilder::getDisplaysList(EntityInterface $view) Gets a list of displays included in the view. Parameters \Drupal\Core\Entity\EntityInterface $view: The view entity instance to get a list of displays for. Return value array An array of display types that this view includes. File core/modules/views_ui/src/ViewListBuilder.php, line 243 Class ViewListBuilder Defines a class to build a listing of view entities. Namespace Drupal\views_ui Code protected function getDisplay

ViewListBuilder::getDisplayPaths

protected ViewListBuilder::getDisplayPaths(EntityInterface $view) Gets a list of paths assigned to the view. Parameters \Drupal\Core\Entity\EntityInterface $view: The view entity. Return value array An array of paths for this view. File core/modules/views_ui/src/ViewListBuilder.php, line 267 Class ViewListBuilder Defines a class to build a listing of view entities. Namespace Drupal\views_ui Code protected function getDisplayPaths(EntityInterface $view) { $all_paths = array(); $ex

ViewListBuilder::load

public ViewListBuilder::load() Loads entities of this type from storage for listing. This allows the implementation to manipulate the listing, like filtering or sorting the loaded entities. Return value \Drupal\Core\Entity\EntityInterface[] An array of entities implementing \Drupal\Core\Entity\EntityInterface. Overrides ConfigEntityListBuilder::load File core/modules/views_ui/src/ViewListBuilder.php, line 67 Class ViewListBuilder Defines a class to build a listing of view entities. Name

ViewListBuilder::getDefaultOperations

public ViewListBuilder::getDefaultOperations(EntityInterface $entity) Gets this list's default operations. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity the operations are for. Return value array The array structure is identical to the return value of self::getOperations(). Overrides ConfigEntityListBuilder::getDefaultOperations File core/modules/views_ui/src/ViewListBuilder.php, line 154 Class ViewListBuilder Defines a class to build a listing of view entities. Na

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::buildHeader

public ViewListBuilder::buildHeader() Builds the header row for the entity listing. Return value array A render array structure of header strings. Overrides EntityListBuilder::buildHeader See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/views_ui/src/ViewListBuilder.php, line 126 Class ViewListBuilder Defines a class to build a listing of view entities. Namespace Drupal\views_ui Code public function buildHeader() { return array( 'view_name' => array(

ViewListBuilder::$displayManager

The views display plugin manager to use. Type: \Drupal\Component\Plugin\PluginManagerInterface File core/modules/views_ui/src/ViewListBuilder.php, line 25 Class ViewListBuilder Defines a class to build a listing of view entities. Namespace Drupal\views_ui Code protected $displayManager;