field.api.php's hook_field_storage_config_update_forbid() has code like:
$field_storage['settings']['allowed_values']
$prior_field_storage['field_name']
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | interdiff.txt | 1.69 KB | yched |
| #3 | 2344843_hook_field_storage_config_update_forbid-3.patch | 2.16 KB | yched |
| #1 | 2344843_hook_field_storage_config_update_forbid-1.patch | 3.12 KB | yched |
Comments
Comment #1
yched commentedThat code was taken from options_field_storage_config_update_forbid(), copy/pasting the current code.
Comment #2
andypostsuppose api.php should use full path
Comment #3
yched commentedFacepalm. I did add the full path, but in the original code in options.module :-/...
Comment #4
swentel commentedalright
Comment #5
webchickWell that's definitely much nicer!
Committed and pushed to 8.x. Thanks!