You are here

public function ResponsiveImageStyleListBuilder::buildHeader in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/responsive_image/src/ResponsiveImageStyleListBuilder.php \Drupal\responsive_image\ResponsiveImageStyleListBuilder::buildHeader()
  2. 9 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 16

Class

ResponsiveImageStyleListBuilder
Provides a listing of responsive image styles.

Namespace

Drupal\responsive_image

Code

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