You are here

public static function Slick::htmlSettings in Slick Carousel 8

Returns HTML or layout related settings to shut up notices.

Return value

array The default settings.

4 calls to Slick::htmlSettings()
SlickManager::preRenderSlickWrapper in src/SlickManager.php
SlickManagerTest::testBuild in tests/src/Kernel/SlickManagerTest.php
Tests for Slick build.
SlickUnitTest::testSlickEntity in tests/src/Unit/SlickUnitTest.php
Tests for slick entity methods.
template_preprocess_slick in templates/slick.theme.inc
Prepares variables for slick.html.twig templates.

File

src/Entity/Slick.php, line 344

Class

Slick
Defines the Slick configuration entity.

Namespace

Drupal\slick\Entity

Code

public static function htmlSettings() {
  return [
    'cache' => 0,
    'current_view_mode' => '',
    'display' => 'main',
    'grid' => 0,
    'id' => '',
    'nav' => FALSE,
    'navpos' => FALSE,
    'media_switch' => '',
    'optionset' => 'default',
    'ratio' => '',
    'skin' => '',
    'unslick' => FALSE,
    'vanilla' => FALSE,
    'vertical' => FALSE,
    'vertical_tn' => FALSE,
    'view_name' => '',
  ];
}