Skip to content

Commit 3f1991f

Browse files
Issue #9 -Implement hook_config_info() (#10)
* Implement hook_config_info() Implement hook_config_info() so export of config possible in configuration manager * Replace $info with $prefixes, fix spacing Replace $info with $prefixes to be consistent with core modules and fixed spacing at beginning of lines
1 parent 13ca345 commit 3f1991f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tawk_to.module

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,3 +206,14 @@ function tawk_to_remove_widget() {
206206

207207
backdrop_json_output(array('success' => true));
208208
}
209+
210+
/**
211+
* Implements hook_config_info().
212+
*/
213+
function tawk_to_config_info() {
214+
$prefixes[TawkHelper::TAWK_TO_CONFIG_NAME] = array(
215+
'label' => t('tawk.to'),
216+
'group' => t('Configuration'),
217+
);
218+
return $prefixes;
219+
}

0 commit comments

Comments
 (0)