You are here

public function ViewListController::render in Views (for Drupal 7) 8.3

Overrides Drupal\Core\Entity\EntityListController::render();

File

views_ui/lib/Drupal/views_ui/ViewListController.php, line 152
Definition of Drupal\views_ui\ViewListController.

Class

ViewListController
Provides a listing of Views.

Namespace

Drupal\views_ui

Code

public function render() {
  $list = parent::render();
  $list['#attached']['css'] = ViewUI::getAdminCSS();
  $list['#attached']['library'][] = array(
    'system',
    'drupal.ajax',
  );
  $list['#attributes']['id'] = 'views-entity-list';
  return $list;
}