Drupal CMS Media
Description
The Drupal CMS Media recipe provides basic media types including responsive image styles, focal point cropping, SVG support, video handling, and file upload management. It extends Drupal core media types with additional functionality for a comprehensive media experience.
Recipe Dependencies
Depends on the following recipes:
content_editor_role (Drupal core)
Creates the content editor role with media-related permissions.
document_media_type (Drupal core)
Core document media type.
image_media_type (Drupal core)
Core image media type.
local_video_media_type (Drupal core)
Core video media type.
remote_video_media_type (Drupal core)
Core remote video media type (e.g., YouTube, Vimeo).
Basic privacy features for handling remote media content.
Included Modules
Brings in the following core and contributed modules to your site:
BPMN modeler, integrated into Drupal's admin UI.
Provides functionality for Drupal CMS that is not yet in Drupal core or dependencies.
Base events, conditions and actions.
Config events.
Rendering capabilities for ECA, such as blocks and links.
Provides a user interface for managing ECA models.
User events, conditions and actions.
File (in Drupal core)
Provides a field type for files and defines a "managed_file" Form API element.
Allows users to specify the focal point of an image for use during cropping.
Provides content editors the ability to delete associated files when deleting media items.
Allows uploading files in bulk and converting them to media entities using the media library.
Provides an API for modules to use modelers like BPMN.iO.
Responsive Image (in Drupal core)
Provides functionality to output responsive images using the HTML5 picture tag.
Overrides the standard image formatter and widget to support SVG files.
Provides a user interface for the Token API and some missing core tokens.
Views (in Drupal core)
Provides a framework to fetch information from the database and to display it in different formats.
Installation
Apply the recipe using Drush:
Usage
After installation, the media library supports images (with focal point cropping), documents, video files, remote videos, and SVG images. Editors can use the bulk upload feature to add multiple files at once. Responsive image styles ensure that images are served at the appropriate size for each visitor's device.
Last updated