function DateFormatListBuilder::buildHeader

Same name and namespace in other branches
  1. 9 core/modules/system/src/DateFormatListBuilder.php \Drupal\system\DateFormatListBuilder::buildHeader()
  2. 8.9.x core/modules/system/src/DateFormatListBuilder.php \Drupal\system\DateFormatListBuilder::buildHeader()
  3. 10 core/modules/system/src/DateFormatListBuilder.php \Drupal\system\DateFormatListBuilder::buildHeader()

Overrides EntityListBuilder::buildHeader

File

core/modules/system/src/DateFormatListBuilder.php, line 56

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();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.