DateFormatListBuilder::buildHeader

public 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 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();
}
doc_Drupal
2016-10-29 09:00:42
Comments
Leave a Comment

Please login to continue.