You are here

public function GridStackAdmin::getFieldOptions in GridStack 8.2

Same name and namespace in other branches
  1. 8 src/Form/GridStackAdmin.php \Drupal\gridstack\Form\GridStackAdmin::getFieldOptions()

Returns available fields for select options.

File

src/Form/GridStackAdmin.php, line 250

Class

GridStackAdmin
Provides reusable admin functions or form elements.

Namespace

Drupal\gridstack\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);
}