You are here

function media_internet_test_media_internet_providers in D7 Media 7.3

Same name and namespace in other branches
  1. 7.4 modules/media_internet/tests/media_internet_test.module \media_internet_test_media_internet_providers()
  2. 7.2 modules/media_internet/tests/media_internet_test.module \media_internet_test_media_internet_providers()

Implements hook_media_internet_providers().

1 string reference to 'media_internet_test_media_internet_providers'
MediaInternetProviderTestCase::setUp in modules/media_internet/tests/media_internet.test
Sets up a Drupal site for running functional and integration tests.

File

modules/media_internet/tests/media_internet_test.module, line 11
Provides Media Internet module hook implementations for testing purposes.

Code

function media_internet_test_media_internet_providers() {

  // Allow tests to enable or disable this hook.
  if (!variable_get('media_internet_test_media_internet_providers', FALSE)) {
    return array();
  }
  return array(
    'MediaInternetTestHandler' => array(
      'title' => t('Media Internet Test'),
    ),
  );
}