You are here

protected function MediaForm::setFieldSettings in GridStack 8.2

Sets available field media settings.

1 call to MediaForm::setFieldSettings()
MediaForm::getFieldData in src/Plugin/gridstack/stylizer/MediaForm.php
Returns available field media data.

File

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

Class

MediaForm
Provides the media form for Layout Builder integration.

Namespace

Drupal\gridstack\Plugin\gridstack\stylizer

Code

protected function setFieldSettings(array $settings = []) {
  $this->fieldSettings = $settings;
  return $this;
}