Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176
This commit is contained in:
commit
9921556621
13277 changed files with 1459781 additions and 0 deletions
63
core/modules/breakpoint/src/BreakpointInterface.php
Normal file
63
core/modules/breakpoint/src/BreakpointInterface.php
Normal file
|
@ -0,0 +1,63 @@
|
|||
<?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();
|
||||
|
||||
}
|
Reference in a new issue