public function ExtraFieldFormPluginTest::formPluginProvider in Extra Field 8.2
Data provider for basic form plugins.
Return value
array Contains:
- Plugin ID.
- Plugin output as returned by ::formElement.
File
- tests/
src/ Kernel/ ExtraFieldFormPluginTest.php, line 61
Class
- ExtraFieldFormPluginTest
- Kernel test for Extra Field form plugins.
Namespace
Drupal\Tests\extra_field\KernelCode
public function formPluginProvider() {
$info[] = [
'single_item_test',
[
'#markup' => 'Example markup provided by extra field form plugin.',
],
];
return $info;
}