You are here

public function ShippingQuoteMethodListBuilder::buildHeader in Ubercart 8.4

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides DraggableListBuilder::buildHeader

See also

\Drupal\Core\Entity\EntityListBuilder::render()

File

shipping/uc_quote/src/ShippingQuoteMethodListBuilder.php, line 62

Class

ShippingQuoteMethodListBuilder
Provides a listing of shipping quote method entities.

Namespace

Drupal\uc_quote

Code

public function buildHeader() {
  $header['label'] = [
    'data' => $this
      ->t('Shipping quote method'),
  ];
  $header['description'] = [
    'data' => $this
      ->t('Description'),
    'class' => [
      RESPONSIVE_PRIORITY_LOW,
    ],
  ];
  $header['status'] = [
    'data' => $this
      ->t('Status'),
  ];
  return $header + parent::buildHeader();
}