public function SlickManagerInterface::slick in Slick Carousel 8.2
Same name and namespace in other branches
- 8 src/SlickManagerInterface.php \Drupal\slick\SlickManagerInterface::slick()
- 7.3 src/SlickManagerInterface.php \Drupal\slick\SlickManagerInterface::slick()
Returns a cacheable renderable array of a single slick instance.
Parameters
array $build: An associative array containing:
- items: An array of slick contents: text, image or media.
- options: An array of key:value pairs of custom JS overrides.
- optionset: The cached optionset object to avoid multiple invocations.
- settings: An array of key:value pairs of HTML/layout related settings.
Return value
array The cacheable renderable array of a slick instance, or empty array.
1 method overrides SlickManagerInterface::slick()
- SlickManager::slick in src/
SlickManager.php - Returns a cacheable renderable array of a single slick instance.
File
- src/
SlickManagerInterface.php, line 26
Class
- SlickManagerInterface
- Defines re-usable services and functions for slick plugins.
Namespace
Drupal\slickCode
public function slick(array $build = []);