function Breakpoint::getLabel
Same name in other branches
- 8.9.x core/modules/breakpoint/src/Breakpoint.php \Drupal\breakpoint\Breakpoint::getLabel()
- 10 core/modules/breakpoint/src/Breakpoint.php \Drupal\breakpoint\Breakpoint::getLabel()
- 11.x core/modules/breakpoint/src/Breakpoint.php \Drupal\breakpoint\Breakpoint::getLabel()
Overrides BreakpointInterface::getLabel
File
-
core/
modules/ breakpoint/ src/ Breakpoint.php, line 18
Class
- Breakpoint
- Default object used for breakpoint plugins.
Namespace
Drupal\breakpointCode
public function getLabel() {
return $this->t($this->pluginDefinition['label'], [], [
'context' => 'breakpoint',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.