function ImageStyleListBuilder::buildRow

Same name and namespace in other branches
  1. 11.x core/modules/image/src/ImageStyleListBuilder.php \Drupal\image\ImageStyleListBuilder::buildRow()
  2. 10 core/modules/image/src/ImageStyleListBuilder.php \Drupal\image\ImageStyleListBuilder::buildRow()
  3. 8.9.x core/modules/image/src/ImageStyleListBuilder.php \Drupal\image\ImageStyleListBuilder::buildRow()

File

core/modules/image/src/ImageStyleListBuilder.php, line 27

Class

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

Namespace

Drupal\image

Code

public function buildRow(EntityInterface $entity) {
  $row['label'] = $entity->label();
  return $row + parent::buildRow($entity);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.