Skip to header Skip to main navigation Skip to main content Skip to footer
Cookies UI
Site branding
Alaa Haddad - Drupal Expert
Consultant • Architect • Developer • Themer - Expert Drupal Solutions
Main navigation
Alaa Haddad Offers Exceptional Drupal Custom Theming and Modules in Austin TX Alaa Haddad - Drupal Expert
  • Professional Profile
  • Drupal Services
    • Drupal Development
    • Drupal Developer
    • Drupal Themer
    • Drupal Architect
    • Drupal Consultant
  • My Drupal Modules & Themes
      • Cloudflare Purge
      • Solo Copy Blocks
      • W3CSS Paragraphs
      • Paragraphs Bundles
      • Acquia Purge Varnish
      • Reference Blocked Users
      • Module Matrix
      • Paragraphs Bundles Import
      • Selectify
      • Solo Utilities
      • Utilikit
      • Solo
      • Amun
      • Anhur
      • Amunet
      • W3CSS Theme
      • 3D Carousel
      • 3D FlipBox
      • Accordion
      • Carousel
      • Hero
      • Lightbox
      • Parallax
      • Reveal
      • Slideshow
      • Tabs
  • Blog
  • Videos
  • Contact
  • Hire Me (opens in new tab)

Solo Copy Blocks (Drupal Module)

Breadcrumbs

Breadcrumb

  • Home
  • Drupal Modules
  • Solo Copy Blocks (Drupal Module)

Main page content

Alaa Haddad, professional Drupal developer based in Austin, TX   Alaa Haddad
  11:00 PM CDT, Sun September 13, 2026
Share

Solo Copy Blocks copies every block placement and its configuration from your site's current default theme into the Solo theme in one click, remapping region names that don't match between the two. It declares core_version_requirement: ^10.1 || ^11 || ^12 and has no dependency beyond Drupal core itself.

What the module actually does — read from the code, not the marketing copy

The project description on drupal.org frames this as built exclusively for migrating off the W3CSS theme. The source tells a slightly different, more useful story: the single function that does the work, _solo_copy_blocks_and_config_to_solo_theme(), takes whatever theme is currently your site's default theme as the source and always copies to solo as the target — it never checks that the source is W3CSS specifically. It works from any default theme. The region-remapping rules just happen to be named for W3CSS and Solo's own region conventions, which is why it fits that migration best.

Requirements

Requirements, from solo_copy_blocks.info.yml and composer.json
RequirementValue
Drupal core^10.1 || ^11 || ^12
Other modulesNone
Permission neededadminister themes — a Drupal core permission, not one this module defines

Before you run it — the order of operations matters

Because the source theme is always whichever theme is currently default, the sequence you install things in decides whether the module does anything useful:

  1. Leave your existing theme as the default. Do not switch to Solo yet.
  2. Install the Solo theme, but choose Install, not Install and set as default.
  3. Run Solo Copy Blocks. It reads your still-current theme as the source and Solo as the target.
  4. Only after the copy has run, switch Solo to be the default theme.

If Solo is already the default theme when you run the form, the source and target are the same theme, and the module has nothing meaningful to copy.

The region mapping

Blocks are sorted by weight before they move, so relative ordering survives the copy. Most regions map straight across by name when both themes declare one with that name; the exceptions are handled explicitly:

Special-cased region mappings in the module source
Block is in this regionMoves toCondition
fixed_search_barfixed_search_blockIf the target theme declares that region
bottom_forthbottom_fourthIf the target theme declares that region
auto_hidden_blocksYour chosen default regionAlways, and the block is set disabled
Block ID starting with <theme>_messagessystem_messagesMatched by block ID prefix
Block ID starting with <theme>_helpcontentMatched by block ID prefix
Anything elseSame region name, if it exists in SoloOtherwise falls back to the default region

A block whose target ID already exists in Solo is skipped, not overwritten — the module logs a warning and leaves the existing block alone, so re-running the form is safe rather than destructive. The form itself hard-codes the fallback region to footer_menu.

Drupal 12 region handling

Core changed how a theme's full region list is fetched: Drupal 11.4 and later expose it through ThemeHandler::getTheme()->listAllRegions(), where earlier versions used the procedural system_region_list(). The module checks the running core version and calls whichever one actually exists, rather than assuming one API across every supported core — the kind of detail that silently breaks a module supporting ^10.1 || ^11 || ^12 in one line if it is skipped.

Running it

Install with Composer, then visit the form:

composer require drupal/solo_copy_blocks
drush en solo_copy_blocks -y

Navigate to Configuration → System → Copy Blocks to Solo Theme, or go directly to /admin/config/system/solo-copy-blocks, and click Copy Blocks. The form has no other settings — everything about the migration is determined by the code path described above. It reports a plain count when it finishes: how many blocks were migrated, or a message that nothing needed migration if the source theme had none placed.

Afterward, check the actual block layout for Solo — /admin/structure/block?theme=solo — before switching it to the default theme. Confirm the regions look right and that nothing landed in the fallback footer_menu region that should have kept its original placement; the log messages the module writes — visible at /admin/reports/dblog if the core Database Logging module is enabled — name every block it skipped because a matching ID already existed in Solo, which is the one case worth a manual look.

Common questions

Does it delete my old theme's blocks?

No. It reads from the source theme without modifying it. What it does delete, first, is every existing block already placed in the Solo theme, so the copy starts clean rather than layering on top of leftover Solo blocks from an earlier run.

Can I choose a different target theme?

Not through the form. The target is hard-coded to solo in the function itself, which matches the module's stated purpose but means it cannot be repointed at a sub-theme without editing the code.

Will this work migrating from a theme that isn't W3CSS?

Functionally, yes — the code only checks that both the source and target themes exist and are installed. The special-cased regions (search bar, bottom fourth, help/messages blocks) are named for W3CSS and Solo's own conventions, so a non-W3CSS source theme will fall back to same-name-or-default mapping for everything, which still works, just with less precision.

What if I run it twice by accident?

Nothing breaks. Blocks that already exist under their computed target ID are skipped with a logged warning rather than duplicated or overwritten.

Moving a real site onto Solo?

Solo Copy Blocks is free, and it solves exactly the one problem in its name. If the rest of a theme migration — sub-theming, region layout, a full Drupal 11 or 12 upgrade around it — needs a hand, that is what I do for a living.

Look at the Solo theme itself, read about my Drupal services, or get in touch to talk about the migration.

Solo Copy Blocks
Slide 1 of 27
Acquia Purge Varnish - API V2 (Drupal Module)
Slide 2 of 27
Amun - W3CSS Sub-Theme (Drupal Theme)
Slide 3 of 27
Amunet - W3CSS Sub-Theme (Drupal Theme)
Slide 4 of 27
Anhur - W3CSS Sub-Theme (Drupal Theme)
Slide 5 of 27
Cloudflare Purge (Drupal Module)
Slide 6 of 27
Module Matrix (Drupal Module)
Slide 7 of 27
Paragraphs Bundles (Drupal Module)
Slide 8 of 27
Paragraphs Bundles Import (Drupal Module)
Slide 9 of 27
Reference Blocked Users (Drupal Module)
Slide 10 of 27
Selectify (Drupal Module)
Slide 11 of 27
Solo (Drupal Theme)
Slide 12 of 27
Solo Copy Blocks (Drupal Module)
Slide 13 of 27
Solo Utilities (Drupal Module)
Slide 14 of 27
Utilikit (Drupal Module)
Slide 15 of 27
Views 3D Carousel (Drupal Module)
Slide 16 of 27
Views 3D FlipBox (Drupal Module)
Slide 17 of 27
Views Accordion (Drupal Module)
Slide 18 of 27
Views Carousel (Drupal Module)
Slide 19 of 27
Views Hero (Drupal Module)
Slide 20 of 27
Views Lightbox (Drupal Module)
Slide 21 of 27
Views Parallax (Drupal Module)
Slide 22 of 27
Views Reveal (Drupal Module)
Slide 23 of 27
Views Slideshow (Drupal Module)
Slide 24 of 27
Views Tabs (Drupal Module)
Slide 25 of 27
VVJ Core (Drupal Module)
Slide 26 of 27
W3CSS Paragraphs (Drupal Module)
Slide 27 of 27
W3CSS Theme (Drupal Theme)
1 of 27

Our mission is to make Drupal more accessible and user-friendly, empowering businesses of all sizes, especially small enterprises with powerful tools that streamline content customization and enhance digital experiences.

Need help with your Drupal project? Hire Me through Flash Web Center, LLC.

Search

The Drupal 11 Module and Theme Stack, With Versions Checked

ARIA Live Regions in Drupal 11: What Core Does, What You Add

Drupal Architect: The Decisions Expensive to Reverse

Drupal Services: Development, Theming, Upgrades | Austin TX

Paragraphs Bundles

Drupal Module - Paragraphs Bundles

Drupal Theme - Solo

Drupal Theme - Solo

Drupal Work List - Drupal Work

Reference Blocked Users (Drupal Module)

Solo Utilities (Drupal Module)

Views Hero (Drupal Module)

Solo (Drupal Theme)

Paragraphs Bundles Import (Drupal Module)

Drupal Theme - W3CSS Theme

Drupal Theme - W3CSS Theme

Drupal Module - W3CSS Paragraphs

Drupal Module - W3CSS Paragraphs

Inspiration

Inspiration is the fuel that powers our creative engine, often coming from our surroundings, experiences, or the works of others. It's that magical moment when something clicks inside your brain, and you suddenly see a path forward that you hadn't noticed before. Inspiration can strike at any time, providing the motivation and energy needed to explore new possibilities and bring your ideas to life.

Unique Ideas

Unique Ideas

Unique ideas are the seeds of innovation, representing original thoughts or concepts that stand out from the usual. They're the sparks that ignite the process of creating something new and different, often leading to unexpected and groundbreaking solutions or products. Whether in art, science, business, or technology, unique ideas challenge the status quo and pave the way for progress.

Brainstorming

Brainstorming

Brainstorming is a creative group activity designed to generate a large number of ideas or solutions to a problem. It's a free-flowing and open-ended discussion where every suggestion is welcomed and considered, no matter how outlandish it may seem. Brainstorming encourages thinking outside the box, fostering an environment where creativity and collaboration lead to innovative solutions.

Planning

Planning

Planning is the blueprint for turning your ideas into reality. It involves setting goals, outlining steps, and organizing resources in a way that makes achieving your objectives possible. Good planning considers potential challenges and opportunities, making it easier to navigate the journey from concept to completion. It's about preparing the groundwork so that your projects can grow and flourish.

Drupal Developer

A Drupal Developer stands as the technical powerhouse behind dynamic websites, wielding expertise in PHP, custom module development, and Drupal's sophisticated API ecosystem. This role transforms business requirements into functional, secure, and scalable web solutions that power everything from small business sites to enterprise platforms serving millions of users. A Drupal Developer's expertise spans the entire development lifecycle—from architecting custom modules and integrating third-party services to optimizing performance and ensuring security compliance. Discover the complete guide to Drupal Developer skills, career paths, and hiring strategies.

Drupal Themer

A Drupal Themer serves as the artistic craftsperson who transforms wireframes and design mockups into pixel-perfect, accessible, and responsive user experiences using Twig templates, CSS, and JavaScript. This specialized role bridges the gap between design vision and technical implementation, ensuring every website not only looks exceptional but performs flawlessly across all devices and meets WCAG accessibility standards. A Drupal Themer's work encompasses the entire front-end ecosystem—from creating custom theme architectures and optimizing Core Web Vitals to implementing complex responsive designs and ensuring seamless integration with Drupal's rendering system. Explore the comprehensive guide to Drupal Themer expertise, theming best practices, and career advancement.

Drupal Architect

A Drupal Architect emerges as the strategic visionary of web construction, armed with encyclopedic knowledge of enterprise architecture patterns, infrastructure design, and Drupal's extensive technological ecosystem. This senior role operates at the highest technical level, making critical decisions that determine whether complex implementations scale successfully or collapse under real-world demands. A Drupal Architect's responsibilities begin long before development starts—during strategic planning phases where the foundation for secure, performant, and maintainable systems is established through careful evaluation of technology stacks, integration strategies, and scalability requirements. Learn about Drupal Architect skills, enterprise architecture strategies, and career progression to principal roles.

Footer menu

  • Contact
  • Professional Resume
  • Resume Summary
  • Technical Skills
  • Privacy Policy
  • Terms & Conditions
  • Search
  • Login
  • Sitemap

Copyright © 2026 Flash Web Center, LLC - All rights reserved

Developed & Designed by Alaa Haddad