1 field.module field_config_update(Config $staging_config, Config $active_config)

Implements hook_config_update().

Related topics

File

core/modules/field/field.module, line 587
Attach custom data fields to Backdrop entities.

Code

function field_config_update(Config $staging_config, Config $active_config) {
  $config_name = $staging_config->getName();
  if (strpos($config_name, 'field.field.') === 0) {
    $field = $staging_config->get();
    field_update_field($field);
  }
}