You are here

public function BlazyAdminTest::getFieldOptions in Blazy 8

Same name and namespace in other branches
  1. 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\Form

Code

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);
}