public function OgComplexWidgetTest::ogComplexFieldsProvider in Organic groups 8
Data provider for ::testFields()
Return value
array Array with the field human readable name, and the field's HTML name.
File
- tests/
src/ Functional/ OgComplexWidgetTest.php, line 122
Class
- OgComplexWidgetTest
- Tests the complex widget.
Namespace
Drupal\Tests\og\FunctionalCode
public function ogComplexFieldsProvider() {
return [
[
'Groups audience',
'og_audience[0][target_id]',
],
[
'Other groups',
'other_groups[0][target_id]',
],
];
}