public function StockLocationListBuilder::buildHeader in Commerce Stock 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
- modules/
local_storage/ src/ StockLocationListBuilder.php, line 19
Class
- StockLocationListBuilder
- Defines a class to build a listing of stock location entities.
Namespace
Drupal\commerce_stock_localCode
public function buildHeader() {
$header['id'] = $this
->t('Location ID');
$header['name'] = $this
->t('Name');
$header['type'] = $this
->t('Type');
$header['status'] = $this
->t('Status');
return $header + parent::buildHeader();
}