function TourTipPluginInterface::getSelector

Returns the selector the tour tip will attach to.

This typically maps to the Shepherd Step options `attachTo.element` property.

Return value

null|string A selector string, or null for an unattached tip.

See also

https://shepherdjs.dev/docs/Step.html

File

core/modules/tour/src/TourTipPluginInterface.php, line 29

Class

TourTipPluginInterface
Defines an interface for tour items.

Namespace

Drupal\tour

Code

public function getSelector() : ?string;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.