You are here

public function BrokenLinkRedirectListBuilder::buildHeader in Broken Link 8

Same name and namespace in other branches
  1. 8.3 src/BrokenLinkRedirectListBuilder.php \Drupal\broken_link\BrokenLinkRedirectListBuilder::buildHeader()
  2. 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_link

Code

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();
}