You are here

public static function Slick::getHtmlId in Slick Carousel 8.2

Same name and namespace in other branches
  1. 8 src/Entity/Slick.php \Drupal\slick\Entity\Slick::getHtmlId()

Returns the trusted HTML ID of a single slick instance.

Return value

string The html ID.

Deprecated

in slick:8.x-2.0 and is removed from slick:8.x-2.2. Use \Drupal\blazy\Blazy::getHtmlId() instead.

See also

https://www.drupal.org/node/3105648

File

src/Entity/Slick.php, line 264

Class

Slick
Defines the Slick configuration entity.

Namespace

Drupal\slick\Entity

Code

public static function getHtmlId($string = 'slick', $id = '') {
  return Blazy::getHtmlId($string, $id);
}