function ConfigTargetTest::providerMultiTargetWithoutCallables
Same name in other branches
- 11.x core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php \Drupal\Tests\Core\Form\ConfigTargetTest::providerMultiTargetWithoutCallables()
File
-
core/
tests/ Drupal/ Tests/ Core/ Form/ ConfigTargetTest.php, line 218
Class
- ConfigTargetTest
- @coversDefaultClass \Drupal\Core\Form\ConfigTarget @group Form
Namespace
Drupal\Tests\Core\FormCode
public static function providerMultiTargetWithoutCallables() : \Generator {
(yield "neither callable" => [
'foo.settings',
[
'a',
'b',
],
]);
(yield "only fromConfig" => [
'foo.settings',
[
'a',
'b',
],
"intval",
]);
(yield "only toConfig" => [
'foo.settings',
[
'a',
'b',
],
NULL,
"intval",
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.