public function NameFormatListBuilder::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/
NameFormatListBuilder.php, line 72
Class
- NameFormatListBuilder
- Name format list builder for the admin page.
Namespace
Drupal\nameCode
public function buildHeader() {
$row = [];
$row['label'] = $this
->t('Label');
$row['id'] = $this
->t('Machine name');
$row['format'] = $this
->t('Format');
$row['examples'] = $this
->t('Examples');
$row['operations'] = $this
->t('Operations');
return $row;
}