public function ApiDocListBuilder::render in Apigee API Catalog 8
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/ ListBuilder/ ApiDocListBuilder.php, line 52  
Class
- ApiDocListBuilder
 - Defines a class to build a listing of API Doc entities.
 
Namespace
Drupal\apigee_api_catalog\Entity\ListBuilderCode
public function render() {
  $build['description'] = [
    '#markup' => $this
      ->t('Manage your API documentation. You can manage the fields on the <a href=":url">API Docs settings page</a>.', [
      ':url' => Url::fromRoute('entity.apidoc.settings')
        ->toString(),
    ]),
  ];
  $build['table'] = parent::render();
  return $build;
}