You are here

function emimage_imageshack_info in Embedded Media Field 6.3

Same name and namespace in other branches
  1. 6 contrib/emimage/providers/imageshack.inc \emimage_imageshack_info()

hook emimage_PROVIDER_info this returns information relevant to a specific 3rd party image provider

Return value

an array of strings requested by various admin and other forms 'name' => the translated name of the provider 'url' => the url to the main page for the provider 'settings_description' => a description of the provider that will be posted in the admin settings form 'supported_features' => an array of rows describing the state of certain supported features by the provider. These will be rendered in a table, with the columns being 'Feature', 'Supported', 'Notes'.

File

contrib/emimage/providers/imageshack.inc, line 25
This include processes imageshack.com image files for use by emfield.module.

Code

function emimage_imageshack_info() {
  $features = array();
  return array(
    'provider' => 'imageshack',
    'name' => t('ImageShack'),
    'url' => EMIMAGE_IMAGESHACK_MAIN_URL,
    'settings_description' => t('These settings specifically affect images displayed from <a href="@imageshack" target="_blank">ImageShack</a>.', array(
      '@imageshack' => EMIMAGE_IMAGESHACK_MAIN_URL,
    )),
    'supported_features' => $features,
  );
}