You are here

function imagefield_insert_widgets in Insert 6

Implementation of hook_insert_widgets().

File

includes/imagefield.inc, line 11
Insert support for ImageField module.

Code

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