public function SocialGroupContentListBuilder::buildHeader in Open Social 8
Same name and namespace in other branches
- 8.2 modules/social_features/social_group/src/Controller/SocialGroupContentListBuilder.php \Drupal\social_group\Controller\SocialGroupContentListBuilder::buildHeader()
- 8.3 modules/social_features/social_group/src/Controller/SocialGroupContentListBuilder.php \Drupal\social_group\Controller\SocialGroupContentListBuilder::buildHeader()
- 8.4 modules/social_features/social_group/src/Controller/SocialGroupContentListBuilder.php \Drupal\social_group\Controller\SocialGroupContentListBuilder::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_group/ src/ Controller/ SocialGroupContentListBuilder.php, line 95
Class
- SocialGroupContentListBuilder
- Provides a list controller for group content from GroupContentListBuilder.
Namespace
Drupal\social_group\ControllerCode
public function buildHeader() {
$header = [
'member' => $this
->t('Member'),
'organization' => $this
->t('Organization'),
'group_role' => $this
->t('Role'),
];
return $header + parent::buildHeader();
}