You are here

interface BreakpointInterface in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/breakpoint/src/BreakpointInterface.php \Drupal\breakpoint\BreakpointInterface
  2. 9 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 8

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