public function PostListBuilder::buildHeader in Open Social 8
Same name and namespace in other branches
- 8.9 modules/social_features/social_post/src/PostListBuilder.php \Drupal\social_post\PostListBuilder::buildHeader()
- 8.2 modules/social_features/social_post/src/PostListBuilder.php \Drupal\social_post\PostListBuilder::buildHeader()
- 8.3 modules/social_features/social_post/src/PostListBuilder.php \Drupal\social_post\PostListBuilder::buildHeader()
- 8.4 modules/social_features/social_post/src/PostListBuilder.php \Drupal\social_post\PostListBuilder::buildHeader()
- 8.5 modules/social_features/social_post/src/PostListBuilder.php \Drupal\social_post\PostListBuilder::buildHeader()
- 8.6 modules/social_features/social_post/src/PostListBuilder.php \Drupal\social_post\PostListBuilder::buildHeader()
- 8.7 modules/social_features/social_post/src/PostListBuilder.php \Drupal\social_post\PostListBuilder::buildHeader()
- 8.8 modules/social_features/social_post/src/PostListBuilder.php \Drupal\social_post\PostListBuilder::buildHeader()
- 10.3.x modules/social_features/social_post/src/PostListBuilder.php \Drupal\social_post\PostListBuilder::buildHeader()
- 10.0.x modules/social_features/social_post/src/PostListBuilder.php \Drupal\social_post\PostListBuilder::buildHeader()
- 10.1.x modules/social_features/social_post/src/PostListBuilder.php \Drupal\social_post\PostListBuilder::buildHeader()
- 10.2.x modules/social_features/social_post/src/PostListBuilder.php \Drupal\social_post\PostListBuilder::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
- modules/
social_features/ social_post/ src/ PostListBuilder.php, line 20
Class
- PostListBuilder
- Defines a class to build a listing of Post entities.
Namespace
Drupal\social_postCode
public function buildHeader() {
$header['id'] = $this
->t('Post ID');
$header['post'] = $this
->t('Post');
$header['author'] = $this
->t('Author');
$header['created'] = $this
->t('Created');
return $header + parent::buildHeader();
}