You are here

public function PollListBuilder::buildHeader in Poll 8

Overrides Drupal\Core\Entity\EntityListController::buildHeader().

Overrides DraggableListBuilder::buildHeader

File

src/PollListBuilder.php, line 42

Class

PollListBuilder
Defines a class to build a listing of user role entities.

Namespace

Drupal\poll

Code

public function buildHeader() {
  $header['question'] = t('Question');
  $header['author'] = t('Author');
  $header['votes'] = t('Votes');
  $header['status'] = t('Status');
  $header['created'] = t('Created');
  $header['operations'] = t('Operations');
  return $header + parent::buildHeader();
}