interface SlickInterface in Slick Carousel 7.3
Same name and namespace in other branches
- 8.2 src/Entity/SlickInterface.php \Drupal\slick\Entity\SlickInterface
- 8 src/Entity/SlickInterface.php \Drupal\slick\Entity\SlickInterface
Provides an interface defining a Slick entity.
Hierarchy
- interface \Drupal\slick\Entity\SlickBaseInterface
- interface \Drupal\slick\Entity\SlickInterface
Expanded class hierarchy of SlickInterface
All classes that implement SlickInterface
File
- src/
Entity/ SlickInterface.php, line 8
Namespace
Drupal\slick\EntityView source
interface SlickInterface extends SlickBaseInterface {
/**
* Returns the number of breakpoints.
*
* @return int
* The number of the provided breakpoints.
*/
public function getBreakpoints();
/**
* Returns the Slick skin.
*
* @return string
* The name of the Slick skin.
*/
public function getSkin();
/**
* Returns the group this optioset instance belongs to for easy selections.
*
* @return string
* The name of the optionset group.
*/
public function getCollection();
/**
* Returns whether to optimize the stored options, or not.
*
* @return bool
* If true, the stored options will be cleaned out from defaults.
*/
public function optimized();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SlickBaseInterface:: |
public static | function | Returns a new optionset object without saving it to the database. | 1 |
SlickBaseInterface:: |
public static | function | Returns available slick default options under group 'settings'. | 1 |
SlickBaseInterface:: |
public static | function | Checks whether an optionset with the given name already exists. | 1 |
SlickBaseInterface:: |
public | function | Returns the Slick options by group, or property. | 1 |
SlickBaseInterface:: |
public | function | Returns the value of a slick setting. | 1 |
SlickBaseInterface:: |
public | function | Returns the array of slick settings. | 1 |
SlickBaseInterface:: |
public static | function | Returns the given optionset object identified by $id. | 1 |
SlickBaseInterface:: |
public static | function | Fetches all optionsets from the storage. | 1 |
SlickBaseInterface:: |
public | function | Sets the value of a slick setting. | 1 |
SlickBaseInterface:: |
public | function | Sets the array of slick settings. | 1 |
SlickInterface:: |
public | function | Returns the number of breakpoints. | 1 |
SlickInterface:: |
public | function | Returns the group this optioset instance belongs to for easy selections. | 1 |
SlickInterface:: |
public | function | Returns the Slick skin. | 1 |
SlickInterface:: |
public | function | Returns whether to optimize the stored options, or not. | 1 |