public function MiconListBuilder::buildHeader in Micon 8
Same name and namespace in other branches
- 2.x src/MiconListBuilder.php \Drupal\micon\MiconListBuilder::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/
MiconListBuilder.php, line 20
Class
- MiconListBuilder
- Provides a listing of Micon entities.
Namespace
Drupal\miconCode
public function buildHeader() {
$header['label'] = $this
->micon('Package');
$header['preview'] = $this
->micon('Preview');
$header['type'] = $this
->micon('Type');
$header['status'] = $this
->micon('Status');
return $header + parent::buildHeader();
}