You are here

function scald_atom_access in Scald: Media Management made easy 7

Entity integration for access callback.

It does exactly what scald_action_permitted does, but with different argument order to be conform with Entity module's expection.

See also

scald_action_permitted()

1 call to scald_atom_access()
scald_file_download_access in ./scald.module
Implements hook_file_download_access().
1 string reference to 'scald_atom_access'
scald_entity_info in ./scald.module
Implements hook_entity_info().

File

./scald.module, line 1149
The Scald Core, which handles all Scald Registries and dispatch.

Code

function scald_atom_access($op, $atom, $account = NULL) {
  return scald_action_permitted($atom, $op, $account);
}