function hook_entity_browser_selection_display_info_alter in Entity Browser 8
Same name and namespace in other branches
- 8.2 entity_browser.api.php \hook_entity_browser_selection_display_info_alter()
Alter the information provided in \Drupal\entity_browser\Annotation\SelectionDisplay.
Parameters
array $selection_displays: The array of selection display plugins, keyed on the machine-readable name.
File
- ./
entity_browser.api.php, line 39 - Hooks related to entity browser and it's plugins.
Code
function hook_entity_browser_selection_display_info_alter(array &$selection_displays) {
$selection_displays['no_selection']['label'] = t('Nothing!');
}