You are here

public function SlideListBuilder::buildRow in Drupal Slider 8.2

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

Function buildRow.

Overrides EntityListBuilder::buildRow

File

src/Controller/SlideListBuilder.php, line 38

Class

SlideListBuilder
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);
}