public DraggableListBuilder::buildHeader()
Builds the header row for the entity listing.
array A render array structure of header strings.
Overrides EntityListBuilder::buildHeader
\Drupal\Core\Entity\EntityListBuilder::render()
public function buildHeader() { $header = array(); if (!empty($this->weightKey)) { $header['weight'] = t('Weight'); } return $header + parent::buildHeader(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!Entity!DraggableListBuilder.php/function/DraggableListBuilder::buildHeader/8.1.x