BreakpointManager::getGroupLabel

protected BreakpointManager::getGroupLabel($group) Gets the label for a breakpoint group. Parameters string $group: The breakpoint group. Return value string The label. File core/modules/breakpoint/src/BreakpointManager.php, line 244 Class BreakpointManager Defines a breakpoint plugin manager to deal with breakpoints. Namespace Drupal\breakpoint Code protected function getGroupLabel($group) { // Extension names are not translatable. if ($this->moduleHandler->moduleExists($g

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

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::clearCachedDefinitions

public BreakpointManager::clearCachedDefinitions() Clears static and persistent plugin definition caches. Don't resort to calling \Drupal::cache()->delete() and friends to make Drupal detect new or updated plugin definitions. Always use this method on the appropriate plugin type's plugin manager! Overrides DefaultPluginManager::clearCachedDefinitions File core/modules/breakpoint/src/BreakpointManager.php, line 229 Class BreakpointManager Defines a breakpoint plugin manager to deal with

BreakpointManager::$themeHandler

The theme handler. Type: \Drupal\Core\Extension\ThemeHandlerInterface File core/modules/breakpoint/src/BreakpointManager.php, line 75 Class BreakpointManager Defines a breakpoint plugin manager to deal with breakpoints. Namespace Drupal\breakpoint Code protected $themeHandler;

BreakpointManager::$instances

The plugin instances. Type: array File core/modules/breakpoint/src/BreakpointManager.php, line 89 Class BreakpointManager Defines a breakpoint plugin manager to deal with breakpoints. Namespace Drupal\breakpoint Code protected $instances = array();

BreakpointManager::$defaults

A set of defaults to be referenced by $this->processDefinition() if additional processing of plugins is necessary or helpful for development purposes. Type: array Overrides DefaultPluginManager::$defaults File core/modules/breakpoint/src/BreakpointManager.php, line 53 Class BreakpointManager Defines a breakpoint plugin manager to deal with breakpoints. Namespace Drupal\breakpoint Code protected $defaults = array( // Human readable label for breakpoint. 'label' => '', // The

BreakpointManager::$breakpointsByGroup

Static cache of breakpoints keyed by group. Type: array File core/modules/breakpoint/src/BreakpointManager.php, line 82 Class BreakpointManager Defines a breakpoint plugin manager to deal with breakpoints. Namespace Drupal\breakpoint Code protected $breakpointsByGroup;

BreakpointManager

Defines a breakpoint plugin manager to deal with breakpoints. Extension can define breakpoints in a EXTENSION_NAME.breakpoints.yml file contained in the extension's base directory. Each breakpoint has the following structure: MACHINE_NAME: label: STRING mediaQuery: STRING weight: INTEGER multipliers: - STRING For example: bartik.mobile: label: mobile mediaQuery: '(min-width: 0px)' weight: 0 multipliers: - 1x - 2x Optionally a breakpoint can provide a

BreakpointInterface::getWeight

public BreakpointInterface::getWeight() Returns the weight. Return value int The weight. File core/modules/breakpoint/src/BreakpointInterface.php, line 24 Class BreakpointInterface Interface for Breakpoint plugins. Namespace Drupal\breakpoint Code public function getWeight();