You are here

interface SlickInterface in Slick Carousel 7.3

Same name and namespace in other branches
  1. 8.2 src/Entity/SlickInterface.php \Drupal\slick\Entity\SlickInterface
  2. 8 src/Entity/SlickInterface.php \Drupal\slick\Entity\SlickInterface

Provides an interface defining a Slick entity.

Hierarchy

Expanded class hierarchy of SlickInterface

All classes that implement SlickInterface

File

src/Entity/SlickInterface.php, line 8

Namespace

Drupal\slick\Entity
View 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

Namesort descending Modifiers Type Description Overrides
SlickBaseInterface::create public static function Returns a new optionset object without saving it to the database. 1
SlickBaseInterface::defaultSettings public static function Returns available slick default options under group 'settings'. 1
SlickBaseInterface::exists public static function Checks whether an optionset with the given name already exists. 1
SlickBaseInterface::getOptions public function Returns the Slick options by group, or property. 1
SlickBaseInterface::getSetting public function Returns the value of a slick setting. 1
SlickBaseInterface::getSettings public function Returns the array of slick settings. 1
SlickBaseInterface::load public static function Returns the given optionset object identified by $id. 1
SlickBaseInterface::loadMultiple public static function Fetches all optionsets from the storage. 1
SlickBaseInterface::setSetting public function Sets the value of a slick setting. 1
SlickBaseInterface::setSettings public function Sets the array of slick settings. 1
SlickInterface::getBreakpoints public function Returns the number of breakpoints. 1
SlickInterface::getCollection public function Returns the group this optioset instance belongs to for easy selections. 1
SlickInterface::getSkin public function Returns the Slick skin. 1
SlickInterface::optimized public function Returns whether to optimize the stored options, or not. 1