function HelpTopicPluginInterface::getBody

Same name in other branches
  1. 9 core/modules/help_topics/src/HelpTopicPluginInterface.php \Drupal\help_topics\HelpTopicPluginInterface::getBody()
  2. 8.9.x core/modules/help_topics/src/HelpTopicPluginInterface.php \Drupal\help_topics\HelpTopicPluginInterface::getBody()
  3. 11.x core/modules/help/src/HelpTopicPluginInterface.php \Drupal\help\HelpTopicPluginInterface::getBody()

Returns the body of the topic.

Return value

array A render array representing the body.

2 methods override HelpTopicPluginInterface::getBody()
HelpTopicTwig::getBody in core/modules/help/src/HelpTopicTwig.php
Returns the body of the topic.
TestHelpTopicPlugin::getBody in core/modules/help/tests/modules/help_topics_test/src/Plugin/HelpTopic/TestHelpTopicPlugin.php
Returns the body of the topic.

File

core/modules/help/src/HelpTopicPluginInterface.php, line 30

Class

HelpTopicPluginInterface
Defines an interface for help topic plugin classes.

Namespace

Drupal\help

Code

public function getBody();

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