You are here

public function ParagraphsTypeListBuilder::render in Paragraphs 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/Controller/ParagraphsTypeListBuilder.php, line 65

Class

ParagraphsTypeListBuilder
Provides a listing of ParagraphsType.

Namespace

Drupal\paragraphs\Controller

Code

public function render() {
  $build = parent::render();
  $build['#attached']['library'][] = 'paragraphs/drupal.paragraphs.list_builder';
  return $build;
}