public function NodeOrderListBuilder::buildHeader in Node Order 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()
1 call to NodeOrderListBuilder::buildHeader()
- NodeOrderListBuilder::buildForm in src/
NodeOrderListBuilder.php - Form constructor.
File
- src/
NodeOrderListBuilder.php, line 154
Class
- NodeOrderListBuilder
- Defines a class to build a listing of node entities.
Namespace
Drupal\nodeorderCode
public function buildHeader() {
$header = [
'title' => $this
->t('Title'),
'type' => [
'data' => $this
->t('Content type'),
'class' => [
RESPONSIVE_PRIORITY_MEDIUM,
],
],
'status' => $this
->t('Status'),
];
$header['weight'] = $this
->t('Weight');
return $header + parent::buildHeader();
}