public function BlazyAdminTest::getFieldOptions in Blazy 8
Same name and namespace in other branches
- 8.2 tests/modules/blazy_test/src/Form/BlazyAdminTest.php \Drupal\blazy_test\Form\BlazyAdminTest::getFieldOptions()
Returns available fields for select options.
File
- tests/
modules/ blazy_test/ src/ Form/ BlazyAdminTest.php, line 199
Class
- BlazyAdminTest
- Provides resusable admin functions or form elements.
Namespace
Drupal\blazy_test\FormCode
public function getFieldOptions($target_bundles = [], $allowed_field_types = [], $entity_type_id = 'media', $target_type = '') {
return $this->blazyAdmin
->getFieldOptions($target_bundles, $allowed_field_types, $entity_type_id, $target_type);
}