function TipPluginTextLegacy::getBody

Same name in other branches
  1. 10 core/modules/tour/tests/tour_test/src/Plugin/tour/tip/TipPluginTextLegacy.php \Drupal\tour_test\Plugin\tour\tip\TipPluginTextLegacy::getBody()
  2. 11.x core/modules/tour/tests/tour_test/src/Plugin/tour/tip/TipPluginTextLegacy.php \Drupal\tour_test\Plugin\tour\tip\TipPluginTextLegacy::getBody()

Returns body of the text tip.

Return value

string The tip body.

1 call to TipPluginTextLegacy::getBody()
TipPluginTextLegacy::getOutput in core/modules/tour/tests/tour_test/src/Plugin/tour/tip/TipPluginTextLegacy.php
This method should not be used. It is deprecated from TipPluginInterface.

File

core/modules/tour/tests/tour_test/src/Plugin/tour/tip/TipPluginTextLegacy.php, line 92

Class

TipPluginTextLegacy
Displays some text as a tip.

Namespace

Drupal\tour_test\Plugin\tour\tip

Code

public function getBody() {
    return $this->get('body');
}

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