You are here

SlickInterface.php in Slick Carousel 8.2

Same filename and directory in other branches
  1. 8 src/Entity/SlickInterface.php
  2. 7.3 src/Entity/SlickInterface.php

File

src/Entity/SlickInterface.php
View source
<?php

namespace Drupal\slick\Entity;


/**
 * Provides an interface defining a Slick entity.
 */
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 getGroup();

  /**
   * 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();

}

Interfaces

Namesort descending Description
SlickInterface Provides an interface defining a Slick entity.