You are here

public function ResponsiveImageStyleListBuilder::buildHeader in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/responsive_image/src/ResponsiveImageStyleListBuilder.php \Drupal\responsive_image\ResponsiveImageStyleListBuilder::buildHeader()

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

core/modules/responsive_image/src/ResponsiveImageStyleListBuilder.php, line 21
Contains \Drupal\responsive_image\ResponsiveImageStyleListBuilder.

Class

ResponsiveImageStyleListBuilder
Provides a listing of responsive image styles.

Namespace

Drupal\responsive_image

Code

public function buildHeader() {
  $header['label'] = t('Label');
  $header['id'] = t('Machine name');
  return $header + parent::buildHeader();
}