FakeTemplateWrapper::$body

Same name in other branches
  1. 8.9.x core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php \Drupal\Tests\help_topics\Unit\FakeTemplateWrapper::body

Body text to return from the render() method.

Type: string

File

core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php, line 119

Class

FakeTemplateWrapper
Defines a fake template class to mock \Twig\TemplateWrapper.

Namespace

Drupal\Tests\help_topics\Unit

Code

protected $body;

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