You are here

protected function PBTKernelTestBase::getTaxonomyIndex in Permissions by Term 8.2

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

File

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

Class

PBTKernelTestBase
Class PBTKernelTestBase

Namespace

Drupal\Tests\permissions_by_term\Kernel

Code

protected function getTaxonomyIndex() {
  return \Drupal::database()
    ->select('taxonomy_index', 'ti')
    ->fields('ti', [
    'tid',
  ])
    ->execute()
    ->fetchCol();
}