public function MetatagDefaultsListBuilder::render in Metatag 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/
MetatagDefaultsListBuilder.php, line 149
Class
- MetatagDefaultsListBuilder
- Provides a listing of Metatag defaults entities.
Namespace
Drupal\metatagCode
public function render() {
if (\Drupal::state()
->get('system.maintenance_mode')) {
\Drupal::messenger()
->addMessage($this
->t('Please note that while the site is in maintenance mode none of the usual meta tags will be output.'));
}
return parent::render();
}