You are here

public function TipPluginText::getBody in Drupal 8

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()

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');
}