You are here

function popupformat_features_export_options in Popup 8

Same name and namespace in other branches
  1. 7 modules/popup_ui/includes/popup_ui.features.inc \popupformat_features_export_options()
  2. 7.x modules/popup_ui/includes/popup_ui.features.inc \popupformat_features_export_options()
  3. 6.x modules/popup_ui/includes/popup_ui.features.inc \popupformat_features_export_options()

Implementation of [component]_features_export()

File

modules/popup_ui/includes/popup_ui.features.inc, line 8

Code

function popupformat_features_export_options() {
  module_load_include('inc', 'popup_ui', 'includes/popup_ui.admin');
  module_load_include('inc', 'popup', 'includes/popup.util');
  $options = array();
  foreach (_popup_ui_formatter_settings() as $title => $formatter) {
    $options[$title] = $formatter['label'];
  }
  return $options;
}