BreakpointInterface.php in Bootstrap Layout Builder 1.x
Same filename and directory in other branches
Namespace
Drupal\bootstrap_layout_builderFile
src/BreakpointInterface.phpView source
<?php
namespace Drupal\bootstrap_layout_builder;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
/**
* Provides an interface for Bootstrap Layout Builder breakpoints entities.
*/
interface BreakpointInterface extends ConfigEntityInterface {
/**
* Returns the base class fo the breakpoint.
*
* @return string
* The base class of the breakpoint.
*/
public function getBaseClass();
/**
* Returns the status of the breakpoint.
*
* @return bool
* Either "enabled" or "disabled".
*/
public function getStatus();
/**
* Returns region class of a breakpoint.
*
* @param string $key
* The position of region.
* @param string $strucutre_id
* The layout option structure id.
*
* @return string
* The class of a region.
*/
public function getClassByPosition($key, $strucutre_id);
}
Interfaces
Name![]() |
Description |
---|---|
BreakpointInterface | Provides an interface for Bootstrap Layout Builder breakpoints entities. |