You are here

public function TweetEntityListBuilder::buildHeader in Tweet Feed 8.3

Same name and namespace in other branches
  1. 4.x src/TweetEntityListBuilder.php \Drupal\tweet_feed\TweetEntityListBuilder::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/TweetEntityListBuilder.php, line 19

Class

TweetEntityListBuilder
Defines a class to build a listing of Tweet entity entities.

Namespace

Drupal\tweet_feed

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('Tweet ID');
  $header['name'] = $this
    ->t('Tweet Title');
  return $header + parent::buildHeader();
}