Mercurial > hg > isophonics-drupal-site
comparison core/modules/breakpoint/src/BreakpointManagerInterface.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\breakpoint; | |
4 | |
5 /** | |
6 * Defines an interface for breakpoint managers. | |
7 */ | |
8 interface BreakpointManagerInterface { | |
9 | |
10 /** | |
11 * Gets breakpoints for the specified group. | |
12 * | |
13 * @param string $group | |
14 * The breakpoint group to retrieve. | |
15 * | |
16 * @return \Drupal\breakpoint\BreakpointInterface[] | |
17 * Array of breakpoint plugins keyed by machine name. | |
18 */ | |
19 public function getBreakpointsByGroup($group); | |
20 | |
21 /** | |
22 * Gets all the existing breakpoint groups. | |
23 * | |
24 * @return array | |
25 * Array of breakpoint group labels. Keyed by group name. | |
26 */ | |
27 public function getGroups(); | |
28 | |
29 /** | |
30 * Gets all the providers for the specified breakpoint group. | |
31 * | |
32 * @param string $group | |
33 * The breakpoint group to retrieve. | |
34 * | |
35 * @return array | |
36 * An array keyed by provider name with values of provider type (module or | |
37 * theme). | |
38 */ | |
39 public function getGroupProviders($group); | |
40 | |
41 } |