BreakpointManager::$defaults

Same name in other branches
  1. 9 core/modules/breakpoint/src/BreakpointManager.php \Drupal\breakpoint\BreakpointManager::defaults
  2. 8.9.x core/modules/breakpoint/src/BreakpointManager.php \Drupal\breakpoint\BreakpointManager::defaults
  3. 11.x core/modules/breakpoint/src/BreakpointManager.php \Drupal\breakpoint\BreakpointManager::defaults

Type: defaults

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 = [
    // Human readable label for breakpoint.
'label' => '',
    // The media query for the breakpoint.
'mediaQuery' => '',
    // Weight used for ordering breakpoints.
'weight' => 0,
    // Breakpoint multipliers.
'multipliers' => [],
    // The breakpoint group.
'group' => '',
    // Default class for breakpoint implementations.
'class' => 'Drupal\\breakpoint\\Breakpoint',
    // The plugin id. Set by the plugin system based on the top-level YAML key.
'id' => '',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.