You are here

function image_custom_formatters_element_info_alter in Custom Formatters 7.2

Implements hook_custom_formatters_element_info_alter().

File

includes/image.inc, line 21
Image module integration.

Code

function image_custom_formatters_element_info_alter(&$types) {
  $types['custom_formatters_image_styles'] = array(
    '#input' => TRUE,
    '#multiple' => FALSE,
    '#process' => array(
      'form_process_select',
      'ajax_process_form',
    ),
    '#theme' => 'custom_formatters_image_styles',
    '#theme_wrappers' => array(
      'form_element',
    ),
  );
}