You are here

public function TableConfigListBuilder::buildHeader in Data 8

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

src/TableConfigListBuilder.php, line 16

Class

TableConfigListBuilder
Provides a listing of Data Table entities.

Namespace

Drupal\data

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Data Table');
  $header['id'] = $this
    ->t('Machine name');
  return $header + parent::buildHeader();
}