public function LanguageFlagMappingListBuilder::render in Flags 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/
Entity/ LanguageFlagMappingListBuilder.php, line 94
Class
- LanguageFlagMappingListBuilder
- Provides a listing of flag mapping entities.
Namespace
Drupal\flags\EntityCode
public function render() {
$build['description'] = array(
'#markup' => $this
->t("<p>Language to flag mapping allows you to display" . " flags from Flags module next to your language fields, language" . " select form or language switcher links.</p><p>Default mappings" . " can be changed by adding configurations. You can also use the" . " 'Operations' column to edit and delete mappings.</p>"),
);
$build[] = parent::render();
return $build;
}