You are here

public function ScriptListBuilder::buildHeader in Script Manager 8

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/ScriptListBuilder.php, line 16

Class

ScriptListBuilder
A list builder for scripts.

Namespace

Drupal\script_manager

Code

public function buildHeader() {
  return [
    'label' => $this
      ->t('Name'),
  ] + parent::buildHeader();
}