You are here

function scald_scald_action in Scald: Media Management made easy 6

Implementation of hook_scald_action().

File

./scald.module, line 2574

Code

function scald_scald_action($atom, $action) {
  switch ($action) {
    case 'fetch':

      // No specific functionality necessary here
      break;
    case 'edit':

      // @@@TODO: Implement this as a per-atom-provider kind of thing if possible.
      break;
    case 'view':

      // @@@TODO: Implement as a scald_render() call?
      break;
    case 'delete':

      // @@@TODO: Implement a lightweight confirmation interface and then scald_unregister_atom()
      break;
  }
}