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