You are here

function scald_scald_register_atom in Scald: Media Management made easy 6

Implementation of hook_scald_register_atom().

File

./scald.module, line 2472

Code

function scald_scald_register_atom($atom, $values, $mode) {
  switch ($mode) {
    case 'type':

      // @@@TODO: Have the Type Providers implemented in Scald Core do something useful
      break;
    case 'transcoder':

      // Nothing is required at this point because the only Transcoder that
      //  Scald Core provides is 'passthrough' which does not actually *do*
      //  any transcoding.
      break;
    case 'relationship':

      // Scald Core's Relationship Provider does not need to do anything based
      //  on the registration of an Atom.
      break;
  }
}