You are here

function _popup_styles in Popup 8

Same name and namespace in other branches
  1. 7 includes/popup.util.inc \_popup_styles()
  2. 7.x includes/popup.util.inc \_popup_styles()
  3. 6.x includes/popup.util.inc \_popup_styles()

Returns all popup styles provided by all modules

3 calls to _popup_styles()
popupformat_features_export in modules/popup_ui/includes/popup_ui.features.inc
Implementation of [component]_features_export()
popup_admin_settings in includes/popup.admin.inc
Popup administration settings form
_popup_ui_form_options in modules/popup_ui/includes/popup_ui.admin.inc

File

includes/popup.util.inc, line 37

Code

function _popup_styles() {
  static $all_styles = FALSE;
  if ($all_styles) {
    return $all_styles;
  }
  $all_styles = module_invoke_all('popup_styles');
  ksort($all_styles);
  return $all_styles;
}