You are here

interface BreakpointInterface in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/breakpoint/src/BreakpointInterface.php \Drupal\breakpoint\BreakpointInterface

Interface for Breakpoint plugins.

Hierarchy

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 13
Contains \Drupal\breakpoint\BreakpointInterface.

Namespace

Drupal\breakpoint
View 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

Namesort descending Modifiers Type Description Overrides
BreakpointInterface::getGroup public function Returns the breakpoint group. 1
BreakpointInterface::getLabel public function Returns the translated label. 1
BreakpointInterface::getMediaQuery public function Returns the media query. 1
BreakpointInterface::getMultipliers public function Returns the multipliers. 1
BreakpointInterface::getProvider public function Returns the provider. 1
BreakpointInterface::getWeight public function Returns the weight. 1