public function PlanTypeListBuilder::buildHeader in farmOS 2.x
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/
core/ plan/ src/ PlanTypeListBuilder.php, line 17
Class
- PlanTypeListBuilder
- Provides a listing of plan type entities.
Namespace
Drupal\planCode
public function buildHeader() {
$header['label'] = $this
->t('Plan type');
$header['id'] = $this
->t('Machine name');
return $header + parent::buildHeader();
}