public function SearchEngineListBuilder::render in Simple XML sitemap 8.3
Same name and namespace in other branches
- 4.x modules/simple_sitemap_engines/src/Controller/SearchEngineListBuilder.php \Drupal\simple_sitemap_engines\Controller\SearchEngineListBuilder::render()
Build the render array.
Overrides EntityListBuilder::render
File
- modules/
simple_sitemap_engines/ src/ Controller/ SearchEngineListBuilder.php, line 96
Class
- SearchEngineListBuilder
- Search engine entity list builder.
Namespace
Drupal\simple_sitemap_engines\ControllerCode
public function render() {
return [
'simple_sitemap_engines' => [
'#type' => 'details',
'#open' => TRUE,
'#prefix' => FormHelper::getDonationText(),
'#title' => $this
->t('Submission status'),
'table' => parent::render(),
'#description' => $this
->t('Submission settings can be configured <a href="@url">here</a>.', [
'@url' => $GLOBALS['base_url'] . '/admin/config/search/simplesitemap/engines/settings',
]),
],
];
}