You are here

BreakpointInterface.php in Zircon Profile 8

Same filename and directory in other branches
  1. 8.0 core/modules/breakpoint/src/BreakpointInterface.php

Namespace

Drupal\breakpoint

File

core/modules/breakpoint/src/BreakpointInterface.php
View source
<?php

/**
 * @file
 * Contains \Drupal\breakpoint\BreakpointInterface.
 */
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();

}

Interfaces

Namesort descending Description
BreakpointInterface Interface for Breakpoint plugins.