public function DateFormatListBuilder::buildHeader in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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\systemCode
public function buildHeader() {
$header['label'] = t('Name');
$header['pattern'] = t('Pattern');
return $header + parent::buildHeader();
}