You are here

protected function FreelinkingPrefixAffixTest::getNodeBodyValue in Freelinking 4.0.x

Same name and namespace in other branches
  1. 8.3 tests/src/Functional/FreelinkingPrefixAffixTest.php \Drupal\Tests\freelinking\Functional\FreelinkingPrefixAffixTest::getNodeBodyValue()
1 call to FreelinkingPrefixAffixTest::getNodeBodyValue()
FreelinkingPrefixAffixTest::testPrefixAffix in tests/src/Functional/FreelinkingPrefixAffixTest.php
Asserts that text does not contain a break before or after the text.

File

tests/src/Functional/FreelinkingPrefixAffixTest.php, line 47

Class

FreelinkingPrefixAffixTest
Tests that text is displayed inline after rendering.

Namespace

Drupal\Tests\freelinking\Functional

Code

protected function getNodeBodyValue() {
  return "Prefix[[First page]]Suffix";
}