You are here

public function CrossdomainListController::buildRow in Crossdomain 8

Overrides Drupal\Core\Entity\EntityListController::buildRow().

File

lib/Drupal/crossdomain/Controller/CrossdomainListController.php, line 28

Class

CrossdomainListController
Provides a listing of domains.

Namespace

Drupal\crossdomain\Controller

Code

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