You are here

public function RoyalSliderOptionSetListBuilder::render in RoyalSlider Integration 8

Builds the entity listing as renderable array for table.html.twig.

@todo Add a link to add a new item to the #empty text.

Overrides EntityListBuilder::render

File

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

Class

RoyalSliderOptionSetListBuilder

Namespace

Drupal\royalslider

Code

public function render() {
  $build = parent::render();
  $build['#empty'] = $this
    ->t('There are no optionsets available.');
  return $build;
}