Version 1
[yaffs-website] / web / core / modules / breakpoint / src / BreakpointInterface.php
diff --git a/web/core/modules/breakpoint/src/BreakpointInterface.php b/web/core/modules/breakpoint/src/BreakpointInterface.php
new file mode 100644 (file)
index 0000000..876e635
--- /dev/null
@@ -0,0 +1,58 @@
+<?php
+
+namespace Drupal\breakpoint;
+
+/**
+ * Interface for Breakpoint plugins.
+ */
+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();
+
+}