You are here

public function SlideGroupListBuilder::buildRow in Drupal Slider 8

Same name and namespace in other branches
  1. 8.2 src/Controller/SlideGroupListBuilder.php \Drupal\drupal_slider\Controller\SlideGroupListBuilder::buildRow()

Function buildRow.

Overrides EntityListBuilder::buildRow

File

src/Controller/SlideGroupListBuilder.php, line 38

Class

SlideGroupListBuilder
Provides a listing of drupal_slider entities.

Namespace

Drupal\drupal_slider\Controller

Code

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