Skip to content

Commit

Permalink
Issue #2854212: Make config exportable. (Use hook_config_info().)
Browse files Browse the repository at this point in the history
  • Loading branch information
YesCT committed Feb 23, 2017
1 parent 53f43f0 commit edf7da4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions audiofield.module
Original file line number Diff line number Diff line change
Expand Up @@ -221,3 +221,14 @@ function audiofield_admin_settings_form_submit($form, &$form_state) {
$config->save();
drupal_set_message(t('The AudioField configuration options have been saved.'));
}

/**
* Implements hook_config_info().
*/
function audiofield_config_info() {
$prefixes['audiofield.settings'] = array(
'label' => t('Audiofield settings'),
'group' => t('Configuration'),
);
return $prefixes;
}

0 comments on commit edf7da4

Please sign in to comment.