public function UrlRedirectListBuilder::buildHeader in Url Redirect 8
Same name and namespace in other branches
- 8.2 src/Controller/UrlRedirectListBuilder.php \Drupal\url_redirect\Controller\UrlRedirectListBuilder::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/
Controller/ UrlRedirectListBuilder.php, line 33
Class
- UrlRedirectListBuilder
- Provides a listing of UrlRedirect.
Namespace
Drupal\url_redirect\ControllerCode
public function buildHeader() {
$header['label'] = $this
->t('Label');
$header['path'] = $this
->t('Path');
$header['redirect_path'] = $this
->t('Redirect Path');
$header['checked_for'] = $this
->t('Checked for');
$header['message'] = $this
->t('Display Message');
$header['status'] = $this
->t('Status');
return $header + parent::buildHeader();
}