Varbase Recipes extends the
Project Browser
with a dedicated "Varbase recipes" tab and provides custom
Drupal Recipes Config Action
plugins that automate post-install setup steps for
Varbase sites.
It is best used with the Varbase
distribution, but can also be installed on any Drupal 11 site — even with the
Minimal or Standard profile.
Browse and Install Varbase Recipes
Once installed, a new "Varbase recipes" tab appears in the
Project Browser (Administration → Extend → Browse projects).
It lists all available Varbase base recipes with one-click Install and Reapply
actions — no Drush or Composer commands needed.
The following Varbase recipes are available through the tab:
- Varbase Admin Base — Default installed modules, configs and permissions for Varbase admin experience.
- Varbase API Base — JSON:API with authentication, authorization, and OpenAPI documentation.
- Varbase Auth Base — Social Single Sign-On with default social authentication modules.
- Varbase Blog Base — Blog post content type, listing page, and related configuration.
- Varbase Content Base — Foundational content structure: content types, taxonomy vocabularies, block content, menu system, path aliases, and more.
- Varbase Demo Content — Sample pages that demonstrate key Varbase features.
- Varbase Development Base — Development environment modules and configurations (disable in production).
- Varbase Editor Base — Default installed modules, configs and permissions for Varbase CKEditor 5 rich text editing capabilities.
- Varbase Internationalization Base — Internationalization, languages, and translation support for multilingual sites.
- Varbase Media Assets — Default demo media assets for Varbase Media Types.
- Varbase Media Base — Core media modules with default Varbase configurations including media library, focal point, and media types.
- Varbase Page Base — Page content type with SEO fields, editorial workflow, and menu configuration.
- Varbase Performance Base — Default performance optimizations: page caching, asset aggregation, image optimization, lazy loading, and speed enhancements.
- Varbase Security Base — Default security configurations: password policy, username enumeration prevention, security kit, CAPTCHA, honeypot, anti-bot, and flood control.
- Varbase SEO Base — Default installed modules, configs and permissions for Varbase Search Engine Optimization (SEO) core features and settings.
- Varbase Starter — A starter site template recipe for Varbase, providing a modern recipe-first approach to initializing Varbase sites.
- Varbase Users Base — Default Varbase user roles and user management configurations, including role definitions, account settings, and the modules needed to support user management.
- Varbase Webform Base — Default installed webform modules, configurations, and permissions for Varbase webform experience.
- Varbase Workflow Base — Advanced editorial and publishing workflow with content moderation, built on top of the basic Workflow Integration in Drupal CMS.
Custom Config Action Plugins
Varbase Recipes provides custom
Config Action
plugins for use in recipe YAML files. These automate post-install setup steps
that are unsafe to run with standard Drush commands during Drupal installation.
setCKEditorMediaEmbedVersion
Module dependency: ckeditor_media_embed
Detects the current CKEditor version in use on the site and saves it as
plugins_version_installed in ckeditor_media_embed.settings.
This is the safe, installation-friendly equivalent of:
drush config-set ckeditor_media_embed.settings plugins_version_installed <version>
Unlike drush ckeditor_media_embed:install, this action does
not call drupal_flush_all_caches(), making it
safe to run inside the Drupal installation batch process.
Recipe YAML usage:
config:
actions:
ckeditor_media_embed.settings:
setCKEditorMediaEmbedVersion: true
Requirements
Install with Composer
composer require drupal/varbase_recipes
Resources
This module is sponsored and developed by
Vardot.