|
@@ 104-107 (lines=4) @@
|
101 |
|
|
102 |
|
$displays = []; |
103 |
|
$display_description = $this->t('Choose here how the browser(s) should be presented to the end user. The available plugins are:') . '<ul>'; |
104 |
|
foreach ($this->displayManager->getDefinitions() as $plugin_id => $plugin_definition) { |
105 |
|
$displays[$plugin_id] = $plugin_definition['label']; |
106 |
|
$display_description .= '<li><b>' . $plugin_definition['label'] . ':</b> ' . $plugin_definition['description'] . '</li>'; |
107 |
|
} |
108 |
|
$display_description .= '</ul>'; |
109 |
|
$form['display'] = [ |
110 |
|
'#type' => 'select', |
|
@@ 120-123 (lines=4) @@
|
117 |
|
|
118 |
|
$widget_selectors = []; |
119 |
|
$widget_description = $this->t('In the last step of the entity browser configuration you can decide how the widgets will be available to the editor. The available plugins are:') . '<ul>'; |
120 |
|
foreach ($this->widgetSelectorManager->getDefinitions() as $plugin_id => $plugin_definition) { |
121 |
|
$widget_selectors[$plugin_id] = $plugin_definition['label']; |
122 |
|
$widget_description .= '<li><b>' . $plugin_definition['label'] . ':</b> ' . $plugin_definition['description'] . '</li>'; |
123 |
|
} |
124 |
|
$widget_description .= '</ul>'; |
125 |
|
$form['widget_selector'] = [ |
126 |
|
'#type' => 'select', |
|
@@ 136-139 (lines=4) @@
|
133 |
|
|
134 |
|
$selection_display = []; |
135 |
|
$selection_description = $this->t('You can optionally allow a "work-in-progress selection zone" to be available to the editor, while still navigating, browsing and selecting the entities. The available plugins are:') . '<ul>'; |
136 |
|
foreach ($this->selectionDisplayManager->getDefinitions() as $plugin_id => $plugin_definition) { |
137 |
|
$selection_display[$plugin_id] = $plugin_definition['label']; |
138 |
|
$selection_description .= '<li><b>' . $plugin_definition['label'] . ':</b> ' . $plugin_definition['description'] . '</li>'; |
139 |
|
} |
140 |
|
$selection_description .= '</ul>'; |
141 |
|
$form['selection_display'] = [ |
142 |
|
'#type' => 'select', |