VocabularyListBuilder::buildHeader

public VocabularyListBuilder::buildHeader()

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides DraggableListBuilder::buildHeader

See also

\Drupal\Core\Entity\EntityListBuilder::render()

File

core/modules/taxonomy/src/VocabularyListBuilder.php, line 57

Class

VocabularyListBuilder
Defines a class to build a listing of taxonomy vocabulary entities.

Namespace

Drupal\taxonomy

Code

public function buildHeader() {
  $header['label'] = t('Vocabulary name');
  return $header + parent::buildHeader();
}
doc_Drupal
2016-10-29 09:56:27
Comments
Leave a Comment

Please login to continue.