You are here

function hook_scald_atom_insert in Scald: Media Management made easy 7

Act on an atom being inserted.

This hook is invoked from ScaldAtomController::save() after a new atom is saved to the database, after field_attach_insert() and before hook_entity_insert() is called.

@codingStandardsIgnoreStart

Parameters

ScaldAtom $atom: A Scald Atom.

3 functions implement hook_scald_atom_insert()

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

scald_audio_scald_atom_insert in modules/providers/scald_audio/scald_audio.module
Implements hook_scald_atom_insert().
scald_flash_scald_atom_insert in modules/providers/scald_flash/scald_flash.module
Implements hook_scald_atom_insert().
scald_video_scald_atom_insert in modules/providers/scald_video/scald_video.module
Implements hook_scald_atom_insert().

File

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

Code

function hook_scald_atom_insert($atom) {

  // @codingStandardsIgnoreEnd
}