public function NodeLimitListBuilder::buildHeader in Node Limit 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/ NodeLimitListBuilder.php, line 16
Class
- NodeLimitListBuilder
- Provides a listing of NodeLimit.
Namespace
Drupal\node_limit\ControllerCode
public function buildHeader() {
$header['label'] = $this
->t('NodeLimit');
$header['id'] = $this
->t('Machine name');
return $header + parent::buildHeader();
}