function scald_enable in Scald: Media Management made easy 7
Same name and namespace in other branches
- 6 scald.install \scald_enable()
Implements hook_enable().
Ensures that various configuration options are set so that Scald Core can make certain assumptions about the contents of variables.
File
- ./
scald.install, line 289
Code
function scald_enable() {
variable_set('scald_context_fallbacks', array(
'@default' => array(
'title',
),
));
_scald_create_thumbnail_field();
_scald_create_author_vocabulary();
_scald_create_tags_vocabulary();
}