You are here

function ml_image_media_forms in Media Library 6

Implementation of hook_media_forms()

File

ml_image/ml_image.module, line 110
Media Library Image module.

Code

function ml_image_media_forms($type) {
  switch ($type) {
    case 'image':
      $steps = array(
        'source_select' => array(
          'label' => t('Source selection'),
          'form id' => 'ml_image_source_selection_form',
        ),
        'source_image' => array(
          'label' => t('Image select from source'),
          'form id' => 'ml_image_source_options_form',
        ),
        'image_attributes' => array(
          'label' => t('Image Attributes'),
          'form id' => 'ml_image_attributes_form',
        ),
      );
      return $steps;
  }
}