You are here

media_internet.api.php in D7 Media 7

Hooks provided by the media_internet module.

File

modules/media_internet/media_internet.api.php
View source
<?php

/**
 * @file
 * Hooks provided by the media_internet module.
 */

/**
 * Implementors return an multidim array, keyed by a class name
 * with the following elements:
 *
 * - title
 * - image (optional)
 * - hidden: bool If the logo should be shown on form. (optional)
 * - weight (optional)
 */
function hook_media_internet_providers() {
  return array(
    'youtube' => array(
      'title' => 'youtube',
      'image' => 'youtube.jpg',
    ),
  );
}

Functions

Namesort descending Description
hook_media_internet_providers Implementors return an multidim array, keyed by a class name with the following elements: