public function TextFileListBuilder::buildHeader in Apache Solr Config Generator 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/
Controller/ TextFileListBuilder.php, line 20 - Contains Drupal\apachesolr_confgen\Controller\TextFileListBuilder.
Class
- TextFileListBuilder
- Provides a listing of TextFile.
Namespace
Drupal\apachesolr_confgen\ControllerCode
public function buildHeader() {
$header['label'] = $this
->t('TextFile');
$header['id'] = $this
->t('Machine name');
return $header + parent::buildHeader();
}