You are here

function wysiwyg_template_features_rebuild in Wysiwyg API template plugin 7.2

Implements hook_features_rebuild().

1 call to wysiwyg_template_features_rebuild()
wysiwyg_template_features_revert in ./wysiwyg_template.features.inc
Implements hook_features_revert().

File

./wysiwyg_template.features.inc, line 54
Additional hooks for features support.

Code

function wysiwyg_template_features_rebuild($module) {
  if ($defaults = features_get_default('wysiwyg_template', $module)) {
    foreach ($defaults as $template) {
      wysiwyg_template_save_template($template);
    }
  }
}