You are here

public function Breakpoint::getWeight in Drupal 9

Same name and namespace in other branches
  1. 8 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 25

Class

Breakpoint
Default object used for breakpoint plugins.

Namespace

Drupal\breakpoint

Code

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