Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Introduction

The Patternkit Media Library Support module allows you to use Drupal's media library browser to select images for patterns.

This module will add a button to image fields. You can click this button to open the media library browser in a modal window.

Installation

Enable this module (e.g., drush en patternkit_media_library).

Configuration

You can configure this module at path /admin/config/user-interface/patternkit/media-library.

Bundled styles

You can choose whether to load supplemental styles for the media library browser. This feature relies on templates from Media Library Theme Reset.

Example

This module adds the media library browser button to patterns where both:

  • type = string
  • format = image

See example.json.