You are here

protected function PBTKernelTestBase::getNidOneGrantedTerm in Permissions by Term 8

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/PBTKernelTestBase.php \Drupal\Tests\permissions_by_term\Kernel\PBTKernelTestBase::getNidOneGrantedTerm()

Return value

int

3 calls to PBTKernelTestBase::getNidOneGrantedTerm()
AccessCheckTest::testDisabledSingleTermRestriction in tests/src/Kernel/AccessCheckTest.php
AccessCheckTest::testSingleTermRestrictionWithNoRestrictedTerms in tests/src/Kernel/AccessCheckTest.php
AccessCheckTest::testSingleTermRestrictionWithRestrictedTerms in tests/src/Kernel/AccessCheckTest.php

File

tests/src/Kernel/PBTKernelTestBase.php, line 295

Class

PBTKernelTestBase
Class PBTKernelTestBase

Namespace

Drupal\Tests\permissions_by_term\Kernel

Code

protected function getNidOneGrantedTerm() {
  return $this->nidOneGrantedTerm;
}