function TourTipPluginInterface::getBody

Returns the body content of the tooltip.

This typically maps to the Shepherd Step options `text` property.

Return value

array A render array.

See also

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

File

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

Class

TourTipPluginInterface
Defines an interface for tour items.

Namespace

Drupal\tour

Code

public function getBody() : array;

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