public function TourTipPluginInterface::getBody in Drupal 10
Same name and namespace in other branches
- 9 core/modules/tour/src/TourTipPluginInterface.php \Drupal\tour\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
1 method overrides TourTipPluginInterface::getBody()
- TipPluginText::getBody in core/
modules/ tour/ src/ Plugin/ tour/ tip/ TipPluginText.php - Returns the body content of the tooltip.
File
- core/
modules/ tour/ src/ TourTipPluginInterface.php, line 41
Class
- TourTipPluginInterface
- Defines an interface for tour items.
Namespace
Drupal\tourCode
public function getBody() : array;