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