public function ImageStyleListBuilder::buildHeader in Drupal 10
Same name and namespace in other branches
- 8 core/modules/image/src/ImageStyleListBuilder.php \Drupal\image\ImageStyleListBuilder::buildHeader()
- 9 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\imageCode
public function buildHeader() {
$header['label'] = $this
->t('Style name');
return $header + parent::buildHeader();
}