public function NameListFormatListBuilder::buildHeader in Name Field 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/
NameListFormatListBuilder.php, line 76
Class
- NameListFormatListBuilder
- The name list builder.
Namespace
Drupal\nameCode
public function buildHeader() {
$row = [];
$row['label'] = $this
->t('Label');
$row['id'] = $this
->t('Machine name');
$row['settings'] = $this
->t('Settings');
$row['examples'] = $this
->t('Examples');
$row['operations'] = $this
->t('Operations');
return $row;
}