You are here

public function DomainPathListBuilder::render in Domain Path 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/DomainPathListBuilder.php, line 133

Class

DomainPathListBuilder
Provides a list controller for domain_path entity.

Namespace

Drupal\domain_path\Controller

Code

public function render() {
  $keys = $this->currentRequest->query
    ->get('search');
  $build['path_admin_filter_form'] = $this->formBuilder
    ->getForm(DomainPathFilterForm::class, $keys);
  $build += parent::render();
  return $build;
}