BreakpointInterface.php

Same filename in other branches
  1. 9 core/modules/breakpoint/src/BreakpointInterface.php
  2. 10 core/modules/breakpoint/src/BreakpointInterface.php
  3. 11.x core/modules/breakpoint/src/BreakpointInterface.php

Namespace

Drupal\breakpoint

File

core/modules/breakpoint/src/BreakpointInterface.php

View source
<?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();

}

Interfaces

Title Deprecated Summary
BreakpointInterface Interface for Breakpoint plugins.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.