You are here

public function ImageStyleListBuilder::buildHeader in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/image/src/ImageStyleListBuilder.php \Drupal\image\ImageStyleListBuilder::buildHeader()
  2. 10 core/modules/image/src/ImageStyleListBuilder.php \Drupal\image\ImageStyleListBuilder::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/image/src/ImageStyleListBuilder.php, line 19

Class

ImageStyleListBuilder
Defines a class to build a listing of image style entities.

Namespace

Drupal\image

Code

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