You are here

public function TourTipPluginInterface::getSelector in Drupal 9

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;