You are here

function soundcloudfield_widget_info in SoundCloud field 6

Implementation of hook_widget_info().

File

./soundcloudfield.module, line 122
SoundCloud CCK field.

Code

function soundcloudfield_widget_info() {
  return array(
    'soundcloud_url' => array(
      'label' => t('SoundCloud URL'),
      'field types' => array(
        'soundcloudfield',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
      // or 'CONTENT_HANDLE_MODULE'
      'callbacks' => array(
        'default value' => CONTENT_CALLBACK_NONE,
      ),
    ),
  );
}