You are here

public function ModuleBuilderComponentListBuilder::buildHeader in Module Builder 8.3

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/ModuleBuilderComponentListBuilder.php, line 36

Class

ModuleBuilderComponentListBuilder
Defines a class to build a listing of module builder components.

Namespace

Drupal\module_builder

Code

public function buildHeader() {
  $header['label'] = t('Module name');
  return $header + parent::buildHeader();
}