public function SearchPageListBuilder::buildHeader in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/search/src/SearchPageListBuilder.php \Drupal\search\SearchPageListBuilder::buildHeader()
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides DraggableListBuilder::buildHeader
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- core/
modules/ search/ src/ SearchPageListBuilder.php, line 97 - Contains \Drupal\search\SearchPageListBuilder.
Class
- SearchPageListBuilder
- Defines a class to build a listing of search page entities.
Namespace
Drupal\searchCode
public function buildHeader() {
$header['label'] = array(
'data' => $this
->t('Label'),
);
$header['url'] = array(
'data' => $this
->t('URL'),
'class' => array(
RESPONSIVE_PRIORITY_LOW,
),
);
$header['plugin'] = array(
'data' => $this
->t('Type'),
'class' => array(
RESPONSIVE_PRIORITY_LOW,
),
);
$header['status'] = array(
'data' => $this
->t('Status'),
);
$header['progress'] = array(
'data' => $this
->t('Indexing progress'),
'class' => array(
RESPONSIVE_PRIORITY_MEDIUM,
),
);
return $header + parent::buildHeader();
}