You are here

public function ProductBundleItemListBuilder::buildHeader in Commerce Product Bundle 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

src/ProductBundleItemListBuilder.php, line 21

Class

ProductBundleItemListBuilder
Defines a class to build a listing of product bundle item entities.

Namespace

Drupal\commerce_product_bundle

Code

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