You are here

public function MediaForm::getFieldSettings in GridStack 8.2

Returns available field media settings.

File

src/Plugin/gridstack/stylizer/MediaForm.php, line 129

Class

MediaForm
Provides the media form for Layout Builder integration.

Namespace

Drupal\gridstack\Plugin\gridstack\stylizer

Code

public function getFieldSettings($name = '') {

  // @todo $field_settings['handler_settings']['target_bundles'];
  return empty($name) ? $this->fieldSettings : $this
    ->getFieldData($name, 'settings');
}