You are here

public function CourseListBuilder::buildHeader in Course 8.3

Same name and namespace in other branches
  1. 8.2 src/Config/Entity/CourseListBuilder.php \Drupal\course\Config\Entity\CourseListBuilder::buildHeader()
  2. 3.x src/Config/Entity/CourseListBuilder.php \Drupal\course\Config\Entity\CourseListBuilder::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/Config/Entity/CourseListBuilder.php, line 16

Class

CourseListBuilder
Defines the list builder for course entities.

Namespace

Drupal\course\Config\Entity

Code

public function buildHeader() {
  $header['title'] = $this
    ->t('Course');
  $header['type'] = $this
    ->t('Type');
  return $header + parent::buildHeader();
}