You are here

function imagefield_extended_insert_widgets in ImageField Extended 6.3

Implementation of hook_insert_widgets().

File

./imagefield_extended.module, line 327
Insert additional fields into an ImageField data array.

Code

function imagefield_extended_insert_widgets() {
  return array(
    'imagefield_extended_widget' => array(
      'wrapper' => '.filefield-element',
      'fields' => array(
        'alt' => 'input[name$="[alt]"]',
        'title' => 'input[name$="[title]]", textarea[name$="[title]"]',
        'description' => 'input[name$="[description]"], textarea[name$="[description]"]',
      ),
    ),
  );
}