You are here

public function UcWishlistListBuilder::render in UC Wish List 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/UcWishlistListBuilder.php, line 149

Class

UcWishlistListBuilder
Defining a class for building list of wishlist entities.

Namespace

Drupal\uc_wishlist

Code

public function render() {
  $build = parent::render();
  $build['table']['#empty'] = $this
    ->t('No wish lists found.');
  return $build;
}