ResponsiveImageStyleListBuilder::buildHeader

public 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');
  $header['id'] = t('Machine name');
  return $header + parent::buildHeader();
}
doc_Drupal
2016-10-29 09:38:10
Comments
Leave a Comment

Please login to continue.