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

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

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;

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();