You are here

public function LocalFontConfigEntityListBuilder::buildHeader in @font-your-face 8.3

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

modules/local_fonts/src/LocalFontConfigEntityListBuilder.php, line 19

Class

LocalFontConfigEntityListBuilder
Provides a listing of Custom Font entities.

Namespace

Drupal\local_fonts

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Custom Font');
  $header['id'] = $this
    ->t('Machine name');
  $header['font_family'] = $this
    ->t('Font Family');
  $header['font_view'] = $this
    ->t('View Font');
  $header['font_manage'] = $this
    ->t('Enable/Disable');
  return $header + parent::buildHeader();
}