You are here

function uc_option_image_modes in Ubercart Option Images 7

Get an array of the available display modes.

Return value

An array of strings.

2 calls to uc_option_image_modes()
uc_option_image_display_form in ./uc_option_image.module
Generate a form element for the display / image style parameters
uc_option_image_save_form_data in ./uc_option_image.module

File

./uc_option_image.module, line 685
Allow store administrators to add images to attribute options.

Code

function uc_option_image_modes() {
  return array(
    'inline',
    'selected',
  );
}