function TourTipPluginInterface::getLocation

Returns the configured placement of the tip relative to the element.

If null, the tip will automatically determine the best position based on the element's position in the viewport.

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

Return value

string|null The tip placement relative to the element.

See also

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

File

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

Class

TourTipPluginInterface
Defines an interface for tour items.

Namespace

Drupal\tour

Code

public function getLocation() : ?string;

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