You are here

function EMMODULE_PROVIDER_content_generate in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 hooks/emfield.php \EMMODULE_PROVIDER_content_generate()
  2. 6.2 hooks/emfield.php \EMMODULE_PROVIDER_content_generate()

Generate random media for the devel module.

If the devel module (at http://drupal.org/project/devel) is installed, it can be used to generate placeholder content, useful for development.

This function should return an array of URLs to parse. One will be selected randomly from the array.

File

hooks/emfield.php, line 172
Document various hooks for Embedded Media Field.

Code

function EMMODULE_PROVIDER_content_generate() {
  return array(
    'http://www.example.com/video/drupal-song',
    'http://www.example.com/video/about-emfield',
    'http://www.example.com/video/love-drupal',
  );
}