interface BreakpointInterface
Same name in other branches
- 8.9.x core/modules/breakpoint/src/BreakpointInterface.php \Drupal\breakpoint\BreakpointInterface
- 10 core/modules/breakpoint/src/BreakpointInterface.php \Drupal\breakpoint\BreakpointInterface
- 11.x core/modules/breakpoint/src/BreakpointInterface.php \Drupal\breakpoint\BreakpointInterface
Interface for Breakpoint plugins.
Hierarchy
- interface \Drupal\breakpoint\BreakpointInterface
Expanded class hierarchy of BreakpointInterface
All classes that implement BreakpointInterface
1 file declares its use of BreakpointInterface
- responsive_image.module in core/
modules/ responsive_image/ responsive_image.module - Responsive image display formatter for image fields.
File
-
core/
modules/ breakpoint/ src/ BreakpointInterface.php, line 8
Namespace
Drupal\breakpointView source
interface BreakpointInterface {
/**
* Returns the translated label.
*
* @return string
* The translated label.
*/
public function getLabel();
/**
* Returns the weight.
*
* @return int
* The weight.
*/
public function getWeight();
/**
* Returns the media query.
*
* @return string
* The media query.
*/
public function getMediaQuery();
/**
* Returns the multipliers.
*
* @return array
* The multipliers.
*/
public function getMultipliers();
/**
* Returns the provider.
*
* @return string
* The provider.
*/
public function getProvider();
/**
* Returns the breakpoint group.
*
* @return string
* The breakpoint group.
*/
public function getGroup();
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
BreakpointInterface::getGroup | public | function | Returns the breakpoint group. | 1 |
BreakpointInterface::getLabel | public | function | Returns the translated label. | 1 |
BreakpointInterface::getMediaQuery | public | function | Returns the media query. | 1 |
BreakpointInterface::getMultipliers | public | function | Returns the multipliers. | 1 |
BreakpointInterface::getProvider | public | function | Returns the provider. | 1 |
BreakpointInterface::getWeight | public | function | Returns the weight. | 1 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.