You are here

function scald_youtube_scald_atom_providers in Scald YouTube 7

Implements hook_scald_atom_providers().

Tell Scald that we'll be providing some video atoms.

File

./scald_youtube.module, line 20
Defines a YouTube provider for Scald.

Code

function scald_youtube_scald_atom_providers() {
  return array(
    'video' => 'Video hosted on YouTube',
  );

  /*
   * This code will never be hit, but is necessary to mark the string
   * for translation on localize.d.o
   * @codingStandardsIgnoreStart
   */
  t('Video hosted on YouTube');

  // @codingStandardsIgnoreEnd
}