public function BrokenLinkListBuilder::buildHeader in Broken Link 8
Same name and namespace in other branches
- 8.3 src/BrokenLinkListBuilder.php \Drupal\broken_link\BrokenLinkListBuilder::buildHeader()
- 8.2 src/BrokenLinkListBuilder.php \Drupal\broken_link\BrokenLinkListBuilder::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/
BrokenLinkListBuilder.php, line 16
Class
- BrokenLinkListBuilder
- Provides a listing of Broken link redirect entity entities.
Namespace
Drupal\broken_linkCode
public function buildHeader() {
$header['link'] = $this
->t('Broken link');
$header['hits'] = $this
->t('Hits');
return $header + parent::buildHeader();
}