function _popup_block_settings in Popup 8
Same name and namespace in other branches
- 7 modules/popup_block/popup_block.module \_popup_block_settings()
- 7.x modules/popup_block/popup_block.module \_popup_block_settings()
- 6.x modules/popup_block/popup_block.module \_popup_block_settings()
7 calls to _popup_block_settings()
- popupblock_features_export in modules/
popup_block/ includes/ popup_block.features.inc - Implementation of [component]_features_export()
- popupblock_features_export_options in modules/
popup_block/ includes/ popup_block.features.inc - Implementation of [component]_features_export()
- popupblock_features_export_render in modules/
popup_block/ includes/ popup_block.features.inc - Implementation of [component]_features_export_render()
- popupblock_features_rebuild in modules/
popup_block/ includes/ popup_block.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_block/ popup_block.module, line 201
Code
function _popup_block_settings($new_settings = FALSE) {
static $settings = FALSE;
if ($new_settings) {
$settings = $new_settings;
variable_set('popup-block-settings', $settings);
}
if (!$settings) {
$settings = variable_get('popup-block-settings', array());
}
return $settings;
}