public function Breakpoint::getLabel in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/breakpoint/src/Breakpoint.php \Drupal\breakpoint\Breakpoint::getLabel()
Returns the translated label.
Return value
string The translated label.
Overrides BreakpointInterface::getLabel
File
- core/
modules/ breakpoint/ src/ Breakpoint.php, line 23 - Contains \Drupal\breakpoint\Breakpoint.
Class
- Breakpoint
- Default object used for breakpoint plugins.
Namespace
Drupal\breakpointCode
public function getLabel() {
return $this
->t($this->pluginDefinition['label'], array(), array(
'context' => 'breakpoint',
));
}