function TipPluginBase::getBody

Same name in other branches
  1. 10 core/modules/tour/src/TipPluginBase.php \Drupal\tour\TipPluginBase::getBody()

Overrides TipPluginInterface::getBody

3 methods override TipPluginBase::getBody()
TipPluginImage::getBody in core/modules/tour/tests/tour_test/src/Plugin/tour/tip/TipPluginImage.php
Returns the body content of the tooltip.
TipPluginText::getBody in core/modules/tour/src/Plugin/tour/tip/TipPluginText.php
Returns the body content of the tooltip.
TipPluginTextLegacy::getBody in core/modules/tour/tests/tour_test/src/Plugin/tour/tip/TipPluginTextLegacy.php
Returns body of the text tip.

File

core/modules/tour/src/TipPluginBase.php, line 108

Class

TipPluginBase
Defines a base tour item implementation.

Namespace

Drupal\tour

Code

public function getBody() : array {
    return [];
}

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