You are here

function _textimage_background_effect_defaults in Textimage 7.3

Default values for the textimage_background effect.

Return value

array Effect default data.

4 calls to _textimage_background_effect_defaults()
textimage_background_effect in effects/textimage_background.inc
Implements 'textimage_background' image effect callback.
textimage_background_effect_dimensions in effects/textimage_background.inc
Implements 'textimage_background' image dimensions callback.
textimage_background_effect_form in effects/textimage_background.inc
Settings for 'textimage_background' image effect.
theme_textimage_background_effect_summary in effects/textimage_background.inc
Renders 'textimage_background' image effect summary.

File

effects/textimage_background.inc, line 13
Implementation of the 'textimage_background' image effect.

Code

function _textimage_background_effect_defaults() {
  return array(
    'background_image' => array(
      'mode' => 'passthrough',
      'uri' => NULL,
      'fid' => 0,
    ),
    'background' => array(
      'color' => NULL,
      'repeat' => TRUE,
    ),
    'exact' => array(
      'width' => '',
      'height' => '',
      'xpos' => 'center',
      'ypos' => 'center',
      'dimensions' => 'scale',
      'crop' => 'center-center',
    ),
    'relative' => array(
      'leftdiff' => '',
      'rightdiff' => '',
      'topdiff' => '',
      'bottomdiff' => '',
    ),
  );
}