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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | public function buildHeader() { return array ( 'view_name' => array ( 'data' => $this ->t( 'View name' ), 'class' => array ( 'views-ui-name' ), ), 'description' => array ( 'data' => $this ->t( 'Description' ), 'class' => array ( 'views-ui-description' ), ), 'tag' => array ( 'data' => $this ->t( 'Tag' ), 'class' => array ( 'views-ui-tag' ), ), 'path' => array ( 'data' => $this ->t( 'Path' ), 'class' => array ( 'views-ui-path' ), ), 'operations' => array ( 'data' => $this ->t( 'Operations' ), 'class' => array ( 'views-ui-operations' ), ), ); } |
Please login to continue.