function _popup_ui_formatter_settings in Popup 8
Same name and namespace in other branches
- 7 modules/popup_ui/includes/popup_ui.admin.inc \_popup_ui_formatter_settings()
- 7.x modules/popup_ui/includes/popup_ui.admin.inc \_popup_ui_formatter_settings()
- 6.x modules/popup_ui/includes/popup_ui.admin.inc \_popup_ui_formatter_settings()
19 calls to _popup_ui_formatter_settings()
- popupformat_features_export in modules/
popup_ui/ includes/ popup_ui.features.inc - Implementation of [component]_features_export()
- popupformat_features_export_options in modules/
popup_ui/ includes/ popup_ui.features.inc - Implementation of [component]_features_export()
- popupformat_features_export_render in modules/
popup_ui/ includes/ popup_ui.features.inc - Implementation of [component]_features_export_render()
- popupformat_features_rebuild in modules/
popup_ui/ includes/ popup_ui.features.inc - Implementation of hook_features_rebuild().
- popup_block_form_alter in modules/
popup_block/ popup_block.module - Implementation of hook_form_alter Adds UI settings to block configuration
File
- modules/
popup_ui/ includes/ popup_ui.admin.inc, line 503
Code
function _popup_ui_formatter_settings($new_formatters = FALSE) {
static $formatters = FALSE;
if (is_array($new_formatters)) {
$formatters = $new_formatters;
variable_set('popup-formatters', $formatters);
}
if (!$formatters) {
$formatters = variable_get('popup-formatters', _popup_ui_formatter_defaults());
}
return $formatters;
}