You are here

public function ElevateZoomPlusListBuilder::buildRow in ElevateZoom Plus 7

Same name and namespace in other branches
  1. 8 modules/ui/src/Controller/ElevateZoomPlusListBuilder.php \Drupal\elevatezoomplus_ui\Controller\ElevateZoomPlusListBuilder::buildRow()

File

modules/ui/src/Controller/ElevateZoomPlusListBuilder.php, line 32

Class

ElevateZoomPlusListBuilder
Provides a listing of ElevateZoomPlus optionsets.

Namespace

Drupal\elevatezoomplus_ui\Controller

Code

public function buildRow(EntityInterface $entity) {
  $row['label'] = check_plain($entity
    ->label());
  $row['responsive']['#markup'] = $entity
    ->getSetting('responsive') ? t('Yes') : t('No');
  return $row + parent::buildRow($entity);
}