function SearchPageListBuilder::buildHeader
Same name in other branches
- 9 core/modules/search/src/SearchPageListBuilder.php \Drupal\search\SearchPageListBuilder::buildHeader()
- 8.9.x core/modules/search/src/SearchPageListBuilder.php \Drupal\search\SearchPageListBuilder::buildHeader()
- 11.x core/modules/search/src/SearchPageListBuilder.php \Drupal\search\SearchPageListBuilder::buildHeader()
Overrides DraggableListBuilderTrait::buildHeader
File
-
core/
modules/ search/ src/ SearchPageListBuilder.php, line 115
Class
- SearchPageListBuilder
- Defines a class to build a listing of search page entities.
Namespace
Drupal\searchCode
public function buildHeader() {
$header['label'] = [
'data' => $this->t('Label'),
];
$header['url'] = [
'data' => $this->t('URL'),
'class' => [
RESPONSIVE_PRIORITY_LOW,
],
];
$header['plugin'] = [
'data' => $this->t('Type'),
'class' => [
RESPONSIVE_PRIORITY_LOW,
],
];
$header['status'] = [
'data' => $this->t('Status'),
];
$header['progress'] = [
'data' => $this->t('Indexing progress'),
'class' => [
RESPONSIVE_PRIORITY_MEDIUM,
],
];
return $header + parent::buildHeader();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.