function PendingRevisionTest::getTaxonomyIndex
Same name in other branches
- 9 core/modules/taxonomy/tests/src/Kernel/PendingRevisionTest.php \Drupal\Tests\taxonomy\Kernel\PendingRevisionTest::getTaxonomyIndex()
- 8.9.x core/modules/taxonomy/tests/src/Kernel/PendingRevisionTest.php \Drupal\Tests\taxonomy\Kernel\PendingRevisionTest::getTaxonomyIndex()
- 10 core/modules/taxonomy/tests/src/Kernel/PendingRevisionTest.php \Drupal\Tests\taxonomy\Kernel\PendingRevisionTest::getTaxonomyIndex()
1 call to PendingRevisionTest::getTaxonomyIndex()
- PendingRevisionTest::testTaxonomyIndexWithPendingRevision in core/
modules/ taxonomy/ tests/ src/ Kernel/ PendingRevisionTest.php - Tests that the taxonomy index work correctly with pending revisions.
File
-
core/
modules/ taxonomy/ tests/ src/ Kernel/ PendingRevisionTest.php, line 124
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');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.