You are here

public function SlickAdmin::getFieldOptions in Slick Carousel 8

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

Returns available fields for select options.

File

src/Form/SlickAdmin.php, line 448

Class

SlickAdmin
Provides resusable admin functions, or form elements.

Namespace

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