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 media query for the breakpoint.
  'mediaQuery' => '',
  // Weight used for ordering breakpoints.
  'weight' => 0,
  // Breakpoint multipliers.
  'multipliers' => array(),
  // 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' => '',
);
doc_Drupal
2016-10-29 08:48:53
Comments
Leave a Comment

Please login to continue.