You are here

public function ProductAttributeListBuilder::buildHeader in Commerce Core 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

modules/product/src/ProductAttributeListBuilder.php, line 16

Class

ProductAttributeListBuilder
Defines the list builder for product attributes.

Namespace

Drupal\commerce_product

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Attribute name');
  $header['id'] = $this
    ->t('ID');
  return $header + parent::buildHeader();
}