protected function PendingRevisionTest::getTaxonomyIndex in Drupal 10
Same name and namespace in other branches
- 8 core/modules/taxonomy/tests/src/Kernel/PendingRevisionTest.php \Drupal\Tests\taxonomy\Kernel\PendingRevisionTest::getTaxonomyIndex()
- 9 core/modules/taxonomy/tests/src/Kernel/PendingRevisionTest.php \Drupal\Tests\taxonomy\Kernel\PendingRevisionTest::getTaxonomyIndex()
File
- core/
modules/ taxonomy/ tests/ src/ Kernel/ PendingRevisionTest.php, line 120
Class
- PendingRevisionTest
- Kernel tests for taxonomy pending revisions.
Namespace
Drupal\Tests\taxonomy\KernelCode
protected function getTaxonomyIndex() {
return \Drupal::database()
->select('taxonomy_index')
->fields('taxonomy_index')
->execute()
->fetchAllAssoc('nid');
}