selwynpolit, to drupal

Drupal at your fingertips is now officially a Drupal book listed on drupal.org at https://www.drupal.org/books Also check out the new Utility chapter. Please share the link with your network. https://selwynpolit.github.io/d9book/

Format Drush output for easy wins! (www.computerminds.co.uk)

Drush, the brilliant command-line tool for Drupal, is capable of giving you its output in several ways. Its global --format parameter can be set to a type that you can use in useful ways. Most recently, I found this incredibly useful when I had made some configuration changes through Drupal's admin pages, and needed to then...

joachim, to drupal
@joachim@drupal.community avatar
drupalthoughts, to drupal
@drupalthoughts@fosstodon.org avatar

I've been tasked to upgrade another inherited 9 site to 10, apply a some major updates to the existing theme, and stage it on
As-is, none of the contrib modules had been defined in its config, and it has quite a few complex added features and content types that may no longer be required. Let's see how this goes! 😎

drupalthoughts,
@drupalthoughts@fosstodon.org avatar

the initial strategy is uninstall and remove any modules that aren't required. Use to update any that are required (since they aren't in composer.json), see if I can get it to 9.5 and then 10, then worry about wrangling and composerizing the existing contrib modules that are wandering around

drupalthoughts,
@drupalthoughts@fosstodon.org avatar

this process wound up working to get two other sites from 9.3 to 9.5 to 10.2.1.
I had to fix some issues with 'spaceless' being deprecated in the custom themes, and the profile_switcher module saved me from remnants of Lightning 2.x beta something, though some time ago a lot of effort was put into disabling and removing all lightning workflow related features. 🦤 I think I like drupal again!

selwynpolit, to drupal

Check out the new look and functionality of Drupal at Your Fingertips: https://selwynpolit.github.io/d9book/

Drupal at Your Fingertips is a free living Modern Drupal reference book created to help developers quickly find code they need. It is a community effort including other developers' input. Please share it with your network.

sebastix, to drupal
@sebastix@drupal.community avatar

Some words about upgrading to Drush 12 on my blog: https://sebastix.nl/blog/upgrade-to-drush-12/

ossobuffo, to drupal

I have been doing a lot of core updates from 9 to 10. Several core modules that used to be enabled in the standard profile have been dropped. I wrote a collection of very low-level commands to help with cleaning up the leftover cruft that stands in the way of clean automated updates: https://packagist.org/packages/ossobuffo/drush-admin-utils

mglaman, (edited ) to random
@mglaman@phpc.social avatar
sebastix, to drupal Dutch
@sebastix@drupal.community avatar

What to do when you would like to import a specific configurations like only the blocks config in my situation?

I moved all the blocks.blocks.* yaml files into a subdirectory of the parent config directory.
Than you can use drush cim --partial --source=/var/www/config/sync/blocks to import only those configs. 💡Only an absolute path worked in my case.

Drush to the rescue to make things easier 💗

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • Durango
  • rosin
  • Youngstown
  • osvaldo12
  • slotface
  • ngwrru68w68
  • everett
  • mdbf
  • kavyap
  • DreamBathrooms
  • Leos
  • PowerRangers
  • cisconetworking
  • vwfavf
  • tacticalgear
  • ethstaker
  • khanakhh
  • tester
  • GTA5RPClips
  • normalnudes
  • modclub
  • cubers
  • anitta
  • megavids
  • All magazines