You are here

function _popup_ui_formatter_defaults in Popup 7

Same name and namespace in other branches
  1. 8 modules/popup_ui/includes/popup_ui.admin.inc \_popup_ui_formatter_defaults()
  2. 7.x modules/popup_ui/includes/popup_ui.admin.inc \_popup_ui_formatter_defaults()
  3. 6.x modules/popup_ui/includes/popup_ui.admin.inc \_popup_ui_formatter_defaults()
2 calls to _popup_ui_formatter_defaults()
popup_ui_reset in modules/popup_ui/includes/popup_ui.admin.inc
_popup_ui_formatter_settings in modules/popup_ui/includes/popup_ui.admin.inc

File

modules/popup_ui/includes/popup_ui.admin.inc, line 419

Code

function _popup_ui_formatter_defaults() {
  return array(
    'Default hover' => array(
      'label' => 'Default hover',
      'origin' => 'bottom-left',
      'expand' => 'bottom-right',
      'effect' => 'default',
      'opacity' => '1.0',
      'width' => '150',
      'activate' => 'hover',
    ),
    'Default click' => array(
      'label' => 'Default click',
      'origin' => 'bottom-left',
      'expand' => 'bottom-right',
      'effect' => 'default',
      'opacity' => '1.0',
      'width' => '150',
      'activate' => 'click',
      'close' => 1,
    ),
    'Default node' => array(
      'label' => 'Default node',
      'origin' => 'bottom-left',
      'expand' => 'bottom-right',
      'effect' => 'default',
      'opacity' => '1.0',
      'width' => '150',
      'activate' => 'hover',
      'teaser' => 1,
      'links' => 1,
    ),
    'Left block' => array(
      'label' => 'Left block',
      'origin' => 'top-right',
      'expand' => 'bottom-right',
      'effect' => 'default',
      'opacity' => '1.0',
      'width' => '150',
      'activate' => 'hover',
    ),
    'Right block' => array(
      'label' => 'Right block',
      'origin' => 'top-left',
      'expand' => 'bottom-left',
      'effect' => 'default',
      'opacity' => '1.0',
      'width' => '150',
      'activate' => 'hover',
    ),
    'Popup menu' => array(
      'label' => 'Popup menu',
      'origin' => 'top-right',
      'expand' => 'bottom-right',
      'effect' => 'default',
      'opacity' => '1.0',
      'submenu-origin' => 'top-right',
      'submenu-expand' => 'bottom-right',
      'width' => '200',
      'activate' => 'hover',
    ),
    'Flat popup menu' => array(
      'label' => 'Flat popup menu',
      'origin' => 'top-right',
      'expand' => 'bottom-right',
      'effect' => 'default',
      'opacity' => '1.0',
      'width' => '200',
      'activate' => 'hover',
      'flat' => 1,
    ),
  );
}