protected function PBTKernelTestBase::createTestVocabularies in Permissions by Term 8.2
Same name and namespace in other branches
- 8 tests/src/Kernel/PBTKernelTestBase.php \Drupal\Tests\permissions_by_term\Kernel\PBTKernelTestBase::createTestVocabularies()
1 call to PBTKernelTestBase::createTestVocabularies()
- PBTKernelTestBase::setUp in tests/
src/ Kernel/ PBTKernelTestBase.php
File
- tests/
src/ Kernel/ PBTKernelTestBase.php, line 84
Class
- PBTKernelTestBase
- Class PBTKernelTestBase
Namespace
Drupal\Tests\permissions_by_term\KernelCode
protected function createTestVocabularies() {
Vocabulary::create([
'name' => 'test',
'vid' => 'test',
])
->save();
Vocabulary::create([
'name' => 'test2',
'vid' => 'test2',
])
->save();
}