You are here

function hook_scald_update_atom in Scald: Media Management made easy 7

Respond to atom update.

Similar to hook_scald_register_atom(), but this hook is invoked for existing atoms.

@codingStandardsIgnoreStart

Parameters

ScaldAtom $atom: The atom being created.

string $mode: Role of the callee function. Can have the following values:

  • "type" (not really, as we don't have type provider now).
  • "atom".

See also

hook_scald_register_atom()

1 function implements hook_scald_update_atom()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

scald_image_scald_update_atom in modules/providers/scald_image/scald_image.module
Implements hook_scald_update_atom().

File

./scald.api.php, line 266
Hooks related to Scald atoms and providers.

Code

function hook_scald_update_atom($atom, $mode) {

  // @codingStandardsIgnoreEnd
}