function Breakpoint::getLabel

Same name in other branches
  1. 9 core/modules/breakpoint/src/Breakpoint.php \Drupal\breakpoint\Breakpoint::getLabel()
  2. 10 core/modules/breakpoint/src/Breakpoint.php \Drupal\breakpoint\Breakpoint::getLabel()
  3. 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\breakpoint

Code

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.