You are here

public function TranscodeJobListBuilder::buildRow in Video 8.2

Throws

\Drupal\Core\Entity\EntityMalformedException

Overrides EntityListBuilder::buildRow

File

modules/video_transcode/src/Controller/TranscodeJobListBuilder.php, line 85

Class

TranscodeJobListBuilder
Provides a list controller for video_transcode entity.

Namespace

Drupal\video_transcode\Controller

Code

public function buildRow(EntityInterface $entity) {

  /* @var $entity \Drupal\video_transcode\Entity\TranscodeJob */
  $row['id'] = $entity
    ->id();
  $row['name'] = $entity
    ->toLink()
    ->toString();
  return $row + parent::buildRow($entity);
}