You are here

function emwave_google_info in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 contrib/emwave/providers/google.inc \emwave_google_info()
  2. 6.2 contrib/emwave/providers/google.inc \emwave_google_info()

hook emwave_PROVIDER_info this returns information relevant to a specific 3rd party wave 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/emwave/providers/google.inc, line 22
This include processes google.com wave files for use by emfield.module.

Code

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