public function SimpleSitemapListBuilder::buildHeader in Simple XML sitemap 4.x
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides DraggableListBuilder::buildHeader
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- src/
SimpleSitemapListBuilder.php, line 28
Class
- SimpleSitemapListBuilder
- Class SimpleSitemapListBuilder
Namespace
Drupal\simple_sitemapCode
public function buildHeader() {
$header['name'] = $this
->t('Sitemap');
$header['type'] = $this
->t('Type');
$header['status'] = $this
->t('Status');
$header['count'] = $this
->t('Link count');
return $header + parent::buildHeader();
}