public 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 92
Class
- SearchPageListBuilder
- Defines a class to build a listing of search page entities.
Namespace
Drupal\search
Code
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(); }
Please login to continue.