function TermResourceTestBase::providerTestGetTermWithParent
Same name in other branches
- 9 core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php \Drupal\Tests\taxonomy\Functional\Rest\TermResourceTestBase::providerTestGetTermWithParent()
- 10 core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php \Drupal\Tests\taxonomy\Functional\Rest\TermResourceTestBase::providerTestGetTermWithParent()
- 11.x core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php \Drupal\Tests\taxonomy\Functional\Rest\TermResourceTestBase::providerTestGetTermWithParent()
File
-
core/
modules/ taxonomy/ tests/ src/ Functional/ Rest/ TermResourceTestBase.php, line 359
Class
Namespace
Drupal\Tests\taxonomy\Functional\RestCode
public function providerTestGetTermWithParent() {
return [
'root parent: [0] (= no parent)' => [
[
0,
],
],
'non-root parent: [2]' => [
[
2,
],
],
'multiple parents: [0,2] (root + non-root parent)' => [
[
0,
2,
],
],
'multiple parents: [3,2] (both non-root parents)' => [
[
3,
2,
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.