You are here

function bg_image_css_repeat_options in Background Images 7

Same name and namespace in other branches
  1. 6 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 bg_image_context/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 600
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)'),
  );
}