function wysiwyg_features_export_options in Wysiwyg 7.2
Implements hook_features_export_options().
File
- ./
wysiwyg.features.inc, line 6
Code
function wysiwyg_features_export_options() {
$profiles = array();
// Get human-readable name from filter module.
$formats = filter_formats();
foreach (array_keys(wysiwyg_profile_load_all()) as $format) {
// Text format may vanish without deleting the wysiwyg profile.
if (isset($formats[$format])) {
$profiles[$format] = $formats[$format]->name;
}
}
return $profiles;
}