You are here

function scald_composite_scald_provider in Scald: Media Management made easy 6

Implementation of hook_scald_provider().

File

scald_composite/scald_composite.module, line 21
Scald Composites, a Scald Atom Provider for Composite Atoms based on Drupal Nodes.

Code

function scald_composite_scald_provider() {
  $provides = array(
    'atoms' => array(
      'composite' => array(
        t('The body field of Drupal Nodes of selected nodetypes.'),
      ),
    ),
  );
  if (module_exists('content')) {
    $provides['atoms']['composite'][] = t('The Scald Composite CCK field.');
  }
  return $provides;
}