protected function NodeTitleBuiltinFailoverTest::getNodeBodyValue in Freelinking 8.3
Same name and namespace in other branches
- 4.0.x tests/src/Functional/NodeTitleBuiltinFailoverTest.php \Drupal\Tests\freelinking\Functional\NodeTitleBuiltinFailoverTest::getNodeBodyValue()
Get HTML to use for node body.
Return value
string The value to use for the node body.
1 call to NodeTitleBuiltinFailoverTest::getNodeBodyValue()
- NodeTitleBuiltinFailoverTest::testNodeTitleShowtextFailover in tests/
src/ Functional/ NodeTitleBuiltinFailoverTest.php - Asserts that showtext failover option is functional.
File
- tests/
src/ Functional/ NodeTitleBuiltinFailoverTest.php, line 59
Class
- NodeTitleBuiltinFailoverTest
- Tests the "showtext" builtin failover plugin with node title.
Namespace
Drupal\Tests\freelinking\FunctionalCode
protected function getNodeBodyValue() {
return <<<EOF
<ul>
<li>Nodetitle: [[nodetitle:First page]]</li>
<li>Nodetitle: [[nodetitle:Second page]]</li>
<li>Nodetitle: [[nodetitle:Third page]]</li>
</ul>
EOF;
}