function Breakpoint::getWeight

Same name in other branches
  1. 9 core/modules/breakpoint/src/Breakpoint.php \Drupal\breakpoint\Breakpoint::getWeight()
  2. 10 core/modules/breakpoint/src/Breakpoint.php \Drupal\breakpoint\Breakpoint::getWeight()
  3. 11.x core/modules/breakpoint/src/Breakpoint.php \Drupal\breakpoint\Breakpoint::getWeight()

Overrides BreakpointInterface::getWeight

File

core/modules/breakpoint/src/Breakpoint.php, line 25

Class

Breakpoint
Default object used for breakpoint plugins.

Namespace

Drupal\breakpoint

Code

public function getWeight() {
    return (int) $this->pluginDefinition['weight'];
}

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