constant HelpTopicTwigTest::PLUGIN_INFORMATION in Drupal 9
Same name and namespace in other branches
- 8 core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php \Drupal\Tests\help_topics\Unit\HelpTopicTwigTest::PLUGIN_INFORMATION
The plugin information to use for setting up a test topic.
File
- core/
modules/ help_topics/ tests/ src/ Unit/ HelpTopicTwigTest.php, line 33
Class
- HelpTopicTwigTest
- Unit test for the HelpTopicTwig class.
Namespace
Drupal\Tests\help_topics\UnitCode
const PLUGIN_INFORMATION = [
'id' => 'test.topic',
'provider' => 'test',
'label' => 'This is the topic label',
'top_level' => TRUE,
'related' => [
'something',
],
'body' => '<p>This is the topic body</p>',
];