3 namespace Drupal\breakpoint;
6 * Defines an interface for breakpoint managers.
8 interface BreakpointManagerInterface {
11 * Gets breakpoints for the specified group.
13 * @param string $group
14 * The breakpoint group to retrieve.
16 * @return \Drupal\breakpoint\BreakpointInterface[]
17 * Array of breakpoint plugins keyed by machine name.
19 public function getBreakpointsByGroup($group);
22 * Gets all the existing breakpoint groups.
25 * Array of breakpoint group labels. Keyed by group name.
27 public function getGroups();
30 * Gets all the providers for the specified breakpoint group.
32 * @param string $group
33 * The breakpoint group to retrieve.
36 * An array keyed by provider name with values of provider type (module or
39 public function getGroupProviders($group);