public function ResponsiveImageStyleListBuilder::buildHeader in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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_imageCode
public function buildHeader() {
$header['label'] = t('Label');
$header['id'] = t('Machine name');
return $header + parent::buildHeader();
}