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