public function SmartDateFormatListBuilder::buildHeader in Smart Date 8
Same name and namespace in other branches
- 8.2 src/Entity/SmartDateFormatListBuilder.php \Drupal\smart_date\Entity\SmartDateFormatListBuilder::buildHeader()
- 3.x src/Entity/SmartDateFormatListBuilder.php \Drupal\smart_date\Entity\SmartDateFormatListBuilder::buildHeader()
- 3.0.x src/Entity/SmartDateFormatListBuilder.php \Drupal\smart_date\Entity\SmartDateFormatListBuilder::buildHeader()
- 3.1.x src/Entity/SmartDateFormatListBuilder.php \Drupal\smart_date\Entity\SmartDateFormatListBuilder::buildHeader()
- 3.2.x src/Entity/SmartDateFormatListBuilder.php \Drupal\smart_date\Entity\SmartDateFormatListBuilder::buildHeader()
- 3.3.x src/Entity/SmartDateFormatListBuilder.php \Drupal\smart_date\Entity\SmartDateFormatListBuilder::buildHeader()
- 3.4.x src/Entity/SmartDateFormatListBuilder.php \Drupal\smart_date\Entity\SmartDateFormatListBuilder::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
- src/
Entity/ SmartDateFormatListBuilder.php, line 19
Class
- SmartDateFormatListBuilder
- Defines a class to build a listing of Smart date formats.
Namespace
Drupal\smart_date\EntityCode
public function buildHeader() {
$header['name'] = $this
->t('Name');
$header['date_format'] = $this
->t('Date Format');
$header['time_format'] = $this
->t('Time Format');
return $header + parent::buildHeader();
}