You are here

public function VocabularyListBuilder::buildHeader in Termcase 8

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

src/VocabularyListBuilder.php, line 57

Class

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

Namespace

Drupal\termcase

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Vocabulary name');
  $header['termcase'] = $this
    ->t('Case Conversion');
  $header = $header + parent::buildHeader();
  return $header;
}