BreakpointInterface.php 864 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php
  2. namespace Drupal\breakpoint;
  3. /**
  4. * Interface for Breakpoint plugins.
  5. */
  6. interface BreakpointInterface {
  7. /**
  8. * Returns the translated label.
  9. *
  10. * @return string
  11. * The translated label.
  12. */
  13. public function getLabel();
  14. /**
  15. * Returns the weight.
  16. *
  17. * @return int
  18. * The weight.
  19. */
  20. public function getWeight();
  21. /**
  22. * Returns the media query.
  23. *
  24. * @return string
  25. * The media query.
  26. */
  27. public function getMediaQuery();
  28. /**
  29. * Returns the multipliers.
  30. *
  31. * @return array
  32. * The multipliers.
  33. */
  34. public function getMultipliers();
  35. /**
  36. * Returns the provider.
  37. *
  38. * @return string
  39. * The provider.
  40. */
  41. public function getProvider();
  42. /**
  43. * Returns the breakpoint group.
  44. *
  45. * @return string
  46. * The breakpoint group.
  47. */
  48. public function getGroup();
  49. }