You are here

function bg_image_css_repeat_options in Background Images 6

Same name and namespace in other branches
  1. 7 bg_image.module \bg_image_css_repeat_options()

Returns an options list of css repeat options

2 calls to bg_image_css_repeat_options()
bg_image_context_reaction_bg_image::options_form in plugins/bg_image_context_reaction_bg_image.inc
Allow admins to provide a section title, section subtitle and section class.
bg_image_settings_form in ./bg_image.module
Defines the settings for for bg_image

File

./bg_image.module, line 596
Allows for customizable background images per page

Code

function bg_image_css_repeat_options() {
  return array(
    'no-repeat' => t('No Repeat'),
    'repeat' => t('Tiled (repeat)'),
    'repeat-x' => t('Repeat Horizontally (repeat-x)'),
    'repeat-y' => t('Repeat Vertically (repeat-y)'),
  );
}