public function DomainTestBase::findNoLink in Domain Access 8
Confirms absence of link with specified locator.
Parameters
string $locator: Link id, title, text or image alt.
Return value
bool TRUE if link is absent, or FALSE.
1 call to DomainTestBase::findNoLink()
- DomainContentPermissionsTest::testDomainContentPermissions in domain_content/
tests/ src/ Functional/ DomainContentPermissionsTest.php - Tests domain content permissions.
File
- domain/
tests/ src/ Functional/ DomainTestBase.php, line 104
Class
- DomainTestBase
- Class DomainTestBase.
Namespace
Drupal\Tests\domain\FunctionalCode
public function findNoLink($locator) {
return empty($this
->getSession()
->getPage()
->hasLink($locator));
}