function field_post_update_save_custom_storage_property
field_post_update_save_custom_storage_property()
Re-save all field storage config objects to add 'custom_storage' property.
File
- core/modules/field/field.post_update.php, line 20
- Post update functions for Field module.
Code
function field_post_update_save_custom_storage_property() { foreach (FieldStorageConfig::loadMultiple() as $field_storage_config) { $field_storage_config->save(); } return t('All field storage configuration objects re-saved.'); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!field!field.post_update.php/function/field_post_update_save_custom_storage_property/8.1.x