2012-10-26 15:55:08 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Enable, install, update and uninstall functions for the breakpoint module.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Implements hook_enable().
|
|
|
|
*
|
|
|
|
* Import breakpoints from all enabled themes.
|
|
|
|
*/
|
|
|
|
function breakpoint_enable() {
|
|
|
|
// Import breakpoints from themes.
|
|
|
|
$themes = list_themes();
|
|
|
|
_breakpoint_theme_enabled(array_keys($themes));
|
|
|
|
|
|
|
|
// Import breakpoints from modules.
|
2013-06-05 01:58:17 +00:00
|
|
|
_breakpoint_modules_enabled(array_keys(Drupal::moduleHandler()->getModuleList()));
|
2012-10-26 15:55:08 +00:00
|
|
|
}
|