interface BreakpointInterface
Same name and namespace in other branches
- 11.x core/modules/breakpoint/src/BreakpointInterface.php \Drupal\breakpoint\BreakpointInterface
- 10 core/modules/breakpoint/src/BreakpointInterface.php \Drupal\breakpoint\BreakpointInterface
- 9 core/modules/breakpoint/src/BreakpointInterface.php \Drupal\breakpoint\BreakpointInterface
- 8.9.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
2 files declare their use of BreakpointInterface
- ResponsiveImageBuilder.php in core/
modules/ responsive_image/ src/ ResponsiveImageBuilder.php - responsive_image.module in core/
modules/ responsive_image/ responsive_image.module
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();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.