public function ShipmentTypeListBuilder::buildHeader in Commerce Shipping 8.2
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/
ShipmentTypeListBuilder.php, line 16
Class
- ShipmentTypeListBuilder
- Defines the list builder for shipment types.
Namespace
Drupal\commerce_shippingCode
public function buildHeader() {
$header['label'] = $this
->t('Shipment type');
$header['id'] = $this
->t('Machine name');
return $header + parent::buildHeader();
}