Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / breakpoint / src / BreakpointManagerInterface.php
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 }