You are here

protected property BreakpointManager::$defaults in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/breakpoint/src/BreakpointManager.php \Drupal\breakpoint\BreakpointManager::defaults
  2. 9 core/modules/breakpoint/src/BreakpointManager.php \Drupal\breakpoint\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 = [
  // 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' => '',
];