You are here

protected function PBTKernelTestBase::setNidOneGrantedTerm 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::setNidOneGrantedTerm()

Parameters

int $nidOneGrantedTerm:

1 call to PBTKernelTestBase::setNidOneGrantedTerm()
PBTKernelTestBase::createRelationOneGrantedTerm in tests/src/Kernel/PBTKernelTestBase.php

File

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

Class

PBTKernelTestBase
Class PBTKernelTestBase

Namespace

Drupal\Tests\permissions_by_term\Kernel

Code

protected function setNidOneGrantedTerm($nidOneGrantedTerm) {
  $this->nidOneGrantedTerm = $nidOneGrantedTerm;
}