summaryrefslogtreecommitdiffstats
path: root/core/modules/breakpoint/breakpoint.install
blob: 0e6bc30410d6173715fc9166e683d13177a24952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

/**
 * @file
 * Enable, install, update and uninstall functions for the breakpoint module.
 */

/**
 * Implements hook_enable().
 *
 * Import breakpoints from all enabled themes.
 *
 * @todo: This should be removed if https://drupal.org/node/1813100 is resolved.
 */
function breakpoint_enable() {
  // Import breakpoints from themes.
  $themes = list_themes();
  _breakpoint_theme_enabled(array_keys($themes));

  // Import breakpoints from modules.
  $modules = module_list();
  _breakpoint_modules_enabled(array_keys($modules));
}