public function TipPluginBase::getSelector in Drupal 9
The selector the tour tip will attach to.
This is mapped to the `attachTo.element` property of the Shepherd tooltip options.
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/ TipPluginBase.php, line 195
Class
- TipPluginBase
- Defines a base tour item implementation.
Namespace
Drupal\tourCode
public function getSelector() : ?string {
return $this
->get('selector');
}