You are here

function emimage_widget_info in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 contrib/emimage/emimage.module \emimage_widget_info()
  2. 6.2 contrib/emimage/emimage.module \emimage_widget_info()

Implementation of hook_widget_info *

File

contrib/emimage/emimage.module, line 124
Embedded Image module is a handler for images hosted on an external site.

Code

function emimage_widget_info() {
  return array(
    'emimage_textfields' => array(
      'label' => t('3rd Party Image'),
      'field types' => array(
        'emimage',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
      'callbacks' => array(
        'default value' => CONTENT_CALLBACK_DEFAULT,
      ),
    ),
  );
}