You are here

public function RoyalSliderOptionSetListBuilder::buildRow in RoyalSlider Integration 8

Builds a row for an entity in the entity listing.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity for this row of the list.

Return value

array A render array structure of fields for this entity.

Overrides EntityListBuilder::buildRow

See also

\Drupal\Core\Entity\EntityListBuilder::render()

File

src/RoyalSliderOptionSetListBuilder.php, line 27
Contains \Drupal\royalslider\RoyalSliderOptionSetListBuilder.

Class

RoyalSliderOptionSetListBuilder

Namespace

Drupal\royalslider

Code

public function buildRow(EntityInterface $entity) {

  // Label
  $row['label'] = $this
    ->getLabel($entity);
  return $row + parent::buildRow($entity);
}