public function Breakpoint::getWeight in Drupal 8
Same name and namespace in other branches
- 9 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\breakpointCode
public function getWeight() {
return (int) $this->pluginDefinition['weight'];
}