Update entity_browser.api.php

Created on 1 March 2019, about 6 years ago
Updated 20 May 2024, 11 months ago

I just noticed that the entity_browser.api.php needs updating

Some functions are using variables that do not exist in the context i.e.

 function hook_entity_browser_widget_validation_info_alter(array &$validation_plugins) {
   $field_displays['not_null']['label'] = t('Not null fabulous validator');

Should be

 function hook_entity_browser_widget_validation_info_alter(array &$validation_plugins) {
   $validation_plugins['not_null']['label'] = t('Not null fabulous validator');

I am uploading a patch with these fixes and adding a bit more of information.

📌 Task
Status

Needs review

Version

2.0

Component

Miscellaneous

Created by

🇬🇧United Kingdom marcelovani London

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024