diff core/modules/breakpoint/src/BreakpointInterface.php @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/modules/breakpoint/src/BreakpointInterface.php	Thu Jul 05 14:24:15 2018 +0000
@@ -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();
+
+}