You are here

public function MediaForm::getLayoutFieldOptions in GridStack 8.2

Returns available field media for select options.

File

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

Class

MediaForm
Provides the media form for Layout Builder integration.

Namespace

Drupal\gridstack\Plugin\gridstack\stylizer

Code

public function getLayoutFieldOptions() {
  return $this
    ->getFieldData('', 'options');
}