Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Style Options - Media Reference

No security coverage Under active development 6 sites

This project adds a way for editors to select media directly within layout or paragraph style forms. The selected media will be automatically rendered and made available for use in your templates. It works with the core Media Library and can use an enhanced picker if available.

Adds a media_reference plugin to Style Options that lets editors pick a media entity from within a layout or paragraph style form. The selected media is rendered and injected into the build array as a Twig variable ({{ style_options_media_[option_id] }}).

Uses the Media Library Form Element picker when available, falling back to autocomplete without any configuration change.

Requirements

Drupal 10–11

Ask your assistant about Style Options - Media Reference

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
May 2026
Latest release
6 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core PHP Release date
1.0.0 Stable 10–11 May 12, 2026
1.0.x-dev Dev 10–11 May 12, 2026