interface BreakpointInterface in Drupal 9
Same name and namespace in other branches
- 8 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BreakpointInterface:: |
public | function | Returns the breakpoint group. | 1 |
BreakpointInterface:: |
public | function | Returns the translated label. | 1 |
BreakpointInterface:: |
public | function | Returns the media query. | 1 |
BreakpointInterface:: |
public | function | Returns the multipliers. | 1 |
BreakpointInterface:: |
public | function | Returns the provider. | 1 |
BreakpointInterface:: |
public | function | Returns the weight. | 1 |