public function Breakpoint::getLabel in Drupal 10
Same name and namespace in other branches
- 8 core/modules/breakpoint/src/Breakpoint.php \Drupal\breakpoint\Breakpoint::getLabel()
- 9 core/modules/breakpoint/src/Breakpoint.php \Drupal\breakpoint\Breakpoint::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',
]);
}