function ConfigTargetTest::providerMultiTargetWithoutCallables
File
- 
              core/tests/ Drupal/ Tests/ Core/ Form/ ConfigTargetTest.php, line 218 
Class
- ConfigTargetTest
- @coversDefaultClass \Drupal\Core\Form\ConfigTarget[[api-linebreak]] @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.
