You are here

public function MiconListBuilder::buildHeader in Micon 2.x

Same name and namespace in other branches
  1. 8 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\micon

Code

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();
}