You are here

public function QuizQuestionListBuilder::buildHeader in Quiz 6.x

Same name and namespace in other branches
  1. 8.6 src/Config/Entity/QuizQuestionListBuilder.php \Drupal\quiz\Config\Entity\QuizQuestionListBuilder::buildHeader()
  2. 8.5 src/Config/Entity/QuizQuestionListBuilder.php \Drupal\quiz\Config\Entity\QuizQuestionListBuilder::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/QuizQuestionListBuilder.php, line 26

Class

QuizQuestionListBuilder
Defines the list builder for quiz question entities.

Namespace

Drupal\quiz\Config\Entity

Code

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