public DraggableListBuilder::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/lib/Drupal/Core/Config/Entity/DraggableListBuilder.php, line 59
Class
- DraggableListBuilder
- Defines a class to build a draggable listing of configuration entities.
Namespace
Drupal\Core\Config\Entity
Code
1 2 3 4 5 6 7 | public function buildHeader() { $header = array (); if (! empty ( $this ->weightKey)) { $header [ 'weight' ] = t( 'Weight' ); } return $header + parent::buildHeader(); } |
Please login to continue.