You are here

public function SearchByPageTesterTest::search_by_page_test_make_pub_page in Search by Page 8

Page callback function for path 'search_by_page_test_pub_page'.

File

tests/src/Functional/SearchByPageTesterTest.php, line 438
General Functional Tests for the Search by Page module. By Jennifer Hodgdon of Poplar ProductivityWare, www.poplarware.com

Class

SearchByPageTesterTest
Base class for testing Search by Page.

Namespace

Drupal\Tests\search_by_page\Functional

Code

public function search_by_page_test_make_pub_page() {
  return '<h2>' . t('Trees') . '</h2>' . '<ul>' . '<li>' . t('Oak') . '</li>' . '<li>' . t('Maple') . '</li>' . '</ul>';
}