function breakpoints_enable in Breakpoints 7
Implements hook_enable(). Import breakpoints from all enabled themes.
File
- ./
breakpoints.module, line 46 - Breakpoints @todo: provide button to reload breakpoints from theme
Code
function breakpoints_enable() {
$themes = list_themes();
foreach ($themes as $theme_key => $theme) {
if (!$theme->status) {
unset($themes[$theme_key]);
}
}
breakpoints_themes_enabled(array_keys($themes));
}