You are here

public function GridStackAdmin::getFieldOptions in GridStack 8

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

Returns available fields for select options.

File

src/Form/GridStackAdmin.php, line 201

Class

GridStackAdmin
Provides resusable 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);
}