BreakpointManager::__construct

public BreakpointManager::__construct(ModuleHandlerInterface $module_handler, ThemeHandlerInterface $theme_handler, CacheBackendInterface $cache_backend, TranslationInterface $string_translation) Constructs a new BreakpointManager instance. Parameters \Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler. \Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler. \Drupal\Core\Cache\CacheBackendInterface $cache_backend: The cache backend. \Drupal

BreakpointManagerInterface::getGroupProviders

public BreakpointManagerInterface::getGroupProviders($group) Gets all the providers for the specified breakpoint group. Parameters string $group: The breakpoint group to retrieve. Return value array An array keyed by provider name with values of provider type (module or theme). File core/modules/breakpoint/src/BreakpointManagerInterface.php, line 39 Class BreakpointManagerInterface Defines an interface for breakpoint managers. Namespace Drupal\breakpoint Code public function getGroup

BreakpointManagerInterface

Defines an interface for breakpoint managers. Hierarchy interface \Drupal\breakpoint\BreakpointManagerInterface File core/modules/breakpoint/src/BreakpointManagerInterface.php, line 8 Namespace Drupal\breakpoint Members Name Modifiers Type Description BreakpointManagerInterface::getBreakpointsByGroup public function Gets breakpoints for the specified group. BreakpointManagerInterface::getGroupProviders public function Gets all the providers for the specified brea

breakpoint_help

breakpoint_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/breakpoint/breakpoint.module, line 13 Manage breakpoints and breakpoint groups for responsive designs. Code function breakpoint_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.breakpoint': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The Breakpoint module keeps track of t

BreakpointManagerInterface::getBreakpointsByGroup

public BreakpointManagerInterface::getBreakpointsByGroup($group) Gets breakpoints for the specified group. Parameters string $group: The breakpoint group to retrieve. Return value \Drupal\breakpoint\BreakpointInterface[] Array of breakpoint plugins keyed by machine name. File core/modules/breakpoint/src/BreakpointManagerInterface.php, line 19 Class BreakpointManagerInterface Defines an interface for breakpoint managers. Namespace Drupal\breakpoint Code public function getBreakpointsB

BreakpointManagerInterface::getGroups

public BreakpointManagerInterface::getGroups() Gets all the existing breakpoint groups. Return value array Array of breakpoint group labels. Keyed by group name. File core/modules/breakpoint/src/BreakpointManagerInterface.php, line 27 Class BreakpointManagerInterface Defines an interface for breakpoint managers. Namespace Drupal\breakpoint Code public function getGroups();

BreakpointManager::providerExists

protected BreakpointManager::providerExists($provider) Determines if the provider of a definition exists. Return value bool TRUE if provider exists, FALSE otherwise. Overrides DefaultPluginManager::providerExists File core/modules/breakpoint/src/BreakpointManager.php, line 143 Class BreakpointManager Defines a breakpoint plugin manager to deal with breakpoints. Namespace Drupal\breakpoint Code protected function providerExists($provider) { return $this->moduleHandler->moduleEx

BreakpointManager::processDefinition

public BreakpointManager::processDefinition(&$definition, $plugin_id) Performs extra processing on plugin definitions. By default we add defaults for the type to the definition. If a type has additional processing logic they can do that by replacing or extending the method. Overrides DefaultPluginManager::processDefinition File core/modules/breakpoint/src/BreakpointManager.php, line 126 Class BreakpointManager Defines a breakpoint plugin manager to deal with breakpoints. Namespace D

BreakpointManager::getBreakpointsByGroup

public BreakpointManager::getBreakpointsByGroup($group) Gets breakpoints for the specified group. Parameters string $group: The breakpoint group to retrieve. Return value \Drupal\breakpoint\BreakpointInterface[] Array of breakpoint plugins keyed by machine name. Overrides BreakpointManagerInterface::getBreakpointsByGroup File core/modules/breakpoint/src/BreakpointManager.php, line 150 Class BreakpointManager Defines a breakpoint plugin manager to deal with breakpoints. Namespace Drupa

BreakpointManager::getDiscovery

protected BreakpointManager::getDiscovery() Gets the plugin discovery. Return value \Drupal\Component\Plugin\Discovery\DiscoveryInterface Overrides DefaultPluginManager::getDiscovery File core/modules/breakpoint/src/BreakpointManager.php, line 115 Class BreakpointManager Defines a breakpoint plugin manager to deal with breakpoints. Namespace Drupal\breakpoint Code protected function getDiscovery() { if (!isset($this->discovery)) { $this->discovery = new YamlDiscovery('brea