You are here

public function HelpTopicPluginInterface::getBody in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/help_topics/src/HelpTopicPluginInterface.php \Drupal\help_topics\HelpTopicPluginInterface::getBody()
  2. 9 core/modules/help_topics/src/HelpTopicPluginInterface.php \Drupal\help_topics\HelpTopicPluginInterface::getBody()

Returns the body of the topic.

Return value

array A render array representing the body.

1 method overrides HelpTopicPluginInterface::getBody()
TestHelpTopicPlugin::getBody in core/modules/help_topics/tests/modules/help_topics_test/src/Plugin/HelpTopic/TestHelpTopicPlugin.php
Returns the body of the topic.

File

core/modules/help_topics/src/HelpTopicPluginInterface.php, line 35

Class

HelpTopicPluginInterface
Defines an interface for help topic plugin classes.

Namespace

Drupal\help_topics

Code

public function getBody();