function scald_field_update_instance in Scald: Media Management made easy 7
Field update instance.
Make sure to clear scald cache in case field instance configuration changes.
@codingStandardsIgnoreStart
Parameters
array $instance: Array of instance.
mixed $prior_instance: Prior instance.
File
- ./
scald.module, line 2579 - The Scald Core, which handles all Scald Registries and dispatch.
Code
function scald_field_update_instance($instance, $prior_instance) {
// @codingStandardsIgnoreEnd
if ($instance['entity_type'] == 'scald_atom') {
cache_clear_all('*', 'cache_scald', TRUE);
}
}