You are here

public function SignupListBuilder::render in SendinBlue 8

Same name and namespace in other branches
  1. 8.2 src/Entity/Controller/SignupListBuilder.php \Drupal\sendinblue\Entity\Controller\SignupListBuilder::render()

We override ::render() so that we can add our own content above the table. parent::render() is where EntityListBuilder creates the table using our buildHeader() and buildRow() implementations.

Overrides EntityListBuilder::render

File

src/Entity/Controller/SignupListBuilder.php, line 65

Class

SignupListBuilder
Provides a list controller for content_entity_example_contact entity.

Namespace

Drupal\sendinblue\Entity\Controller

Code

public function render() {
  $build['table'] = parent::render();
  return $build;
}