public function ProfileTypeListBuilder::buildHeader in Profile 2 8
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/
ProfileTypeListBuilder.php, line 21 - Contains \Drupal\profile\ProfileTypeListController.
Class
- ProfileTypeListBuilder
- List controller for profile types.
Namespace
Drupal\profileCode
public function buildHeader() {
$header['type'] = t('Profile type');
$header['registration'] = t('Registration');
$header['multiple'] = t('Allow multiple profiles');
return $header + parent::buildHeader();
}