You are here

public function TourTipPluginInterface::getSelector in Drupal 10

Same name and namespace in other branches
  1. 9 core/modules/tour/src/TourTipPluginInterface.php \Drupal\tour\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;