You are here

function hook_scald_prerender in Scald: Media Management made easy 7

Respond to atom prerender.

@codingStandardsIgnoreStart

Parameters

ScaldAtom $atom: The scald atom object to prepare for rendering.

string $context: The scald context slug. must be optional since scald core implements multiple providers which require hook_scald_prerender().

string $options: A string which represents any context options. must be optional since scald core implements multiple providers which require hook_scald_prerender().

string $mode: A string indicating which mode the prerender function is being called in ('type', 'atom', 'context', 'player' or 'transcoder').

5 functions implement hook_scald_prerender()

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_prerender in modules/providers/scald_audio/scald_audio.module
Implements hook_scald_prerender().
scald_flash_scald_prerender in modules/providers/scald_flash/scald_flash.module
Implements hook_scald_prerender.
scald_image_scald_prerender in modules/providers/scald_image/scald_image.module
Implements hook_scald_prerender().
scald_scald_prerender in ./scald.module
Implements hook_scald_prerender().
scald_video_scald_prerender in modules/providers/scald_video/scald_video.module
Implements hook_scald_prerender().
1 invocation of hook_scald_prerender()
scald_prerender in ./scald.module
Prepare a Scald Atom for rendering.

File

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

Code

function hook_scald_prerender($atom, $context, $options, $mode) {

  // @codingStandardsIgnoreEnd
}