You are here

public function Breakpoint::getWeight in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/breakpoint/src/Breakpoint.php \Drupal\breakpoint\Breakpoint::getWeight()

Returns the weight.

Return value

int The weight.

Overrides BreakpointInterface::getWeight

File

core/modules/breakpoint/src/Breakpoint.php, line 30
Contains \Drupal\breakpoint\Breakpoint.

Class

Breakpoint
Default object used for breakpoint plugins.

Namespace

Drupal\breakpoint

Code

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