function TipPluginText::getBody

Same name and namespace in other branches
  1. 9 core/modules/tour/src/Plugin/tour/tip/TipPluginText.php \Drupal\tour\Plugin\tour\tip\TipPluginText::getBody()
  2. 10 core/modules/tour/src/Plugin/tour/tip/TipPluginText.php \Drupal\tour\Plugin\tour\tip\TipPluginText::getBody()
  3. 11.x core/modules/tour/src/Plugin/tour/tip/TipPluginText.php \Drupal\tour\Plugin\tour\tip\TipPluginText::getBody()

Returns body of the text tip.

Return value

string The tip body.

1 call to TipPluginText::getBody()
TipPluginText::getOutput in core/modules/tour/src/Plugin/tour/tip/TipPluginText.php
Returns a renderable array.

File

core/modules/tour/src/Plugin/tour/tip/TipPluginText.php, line 92

Class

TipPluginText
Displays some text as a tip.

Namespace

Drupal\tour\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.