You are here

public function SearchByPageTesterTest::searchPerm in Search by Page 8

Returns the permission name to search the given search environment.

15 calls to SearchByPageTesterTest::searchPerm()
SearchByPageAttachTest::setUpUsers in tests/src/Functional/search_by_page.test
Sets up superuser and low-privilege user.
SearchByPageEnvironmentTest::setUp in tests/src/Functional/SearchByPageEnvironmentTest.php
SearchByPageExtraUsersTest::setUp in tests/src/Functional/search_by_page.test
SearchByPageIntlTest::setUp in tests/src/Functional/search_by_page.test
SearchByPageNodesReindexTest::setUp in tests/src/Functional/search_by_page.test

... See full list

File

tests/src/Functional/SearchByPageTesterTest.php, line 99
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 searchPerm($envinfo) {
  return 'search page environment ' . $envinfo['environment_name'];
}