You are here

public function ElevateZoomPlusListBuilder::render in ElevateZoom Plus 8

Same name and namespace in other branches
  1. 7 modules/ui/src/Controller/ElevateZoomPlusListBuilder.php \Drupal\elevatezoomplus_ui\Controller\ElevateZoomPlusListBuilder::render()

Adds some descriptive text to the elevatezoomplus optionsets list.

Return value

array Renderable array.

Overrides DraggableListBuilder::render

See also

admin/config/development/configuration/single/export

File

modules/ui/src/Controller/ElevateZoomPlusListBuilder.php, line 51

Class

ElevateZoomPlusListBuilder
Provides a listing of ElevateZoomPlus optionsets.

Namespace

Drupal\elevatezoomplus_ui\Controller

Code

public function render() {
  $build['description'] = [
    '#markup' => $this
      ->t("<p>Manage the ElevateZoomPlus optionsets. Optionsets are Config Entities.</p><p>By default, when this module is enabled, an optionset is created from configuration. Use the Operations column to edit, clone and delete optionsets.<br /><strong>Important!</strong> Avoid overriding Default optionset as it is meant for Default -- checking and cleaning. Use Duplicate instead. Otherwise messes are yours.<br />ElevateZoomPlus doesn't need ElevateZoomPlus UI to run. It is always safe to uninstall ElevateZoomPlus UI once done with optionsets.</p>"),
  ];
  $build[] = parent::render();
  return $build;
}