function Breakpoint::getWeight

Returns the weight.

Return value

int The weight.

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.