You are here

public function DateFormatListBuilder::buildHeader in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/system/src/DateFormatListBuilder.php \Drupal\system\DateFormatListBuilder::buildHeader()

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

core/modules/system/src/DateFormatListBuilder.php, line 61
Contains \Drupal\system\DateFormatListBuilder.

Class

DateFormatListBuilder
Defines a class to build a listing of date format entities.

Namespace

Drupal\system

Code

public function buildHeader() {
  $header['label'] = t('Name');
  $header['pattern'] = t('Pattern');
  return $header + parent::buildHeader();
}