Drupal

Reusable content in Paragraphs

Submitted by Unifex on

While it's not possible to reuse paragraphs you can create a paragraph type that mimics this behaviour.

Prep reusable content.

  1. Create your various Custom Block Types at Administration > Structure > Block layout > Custom block library. This should already have a Basic block.
  2. Create your reusable content using these block types at Administration > Structure > Block layout. Click Add custom block, select the Block type you want, fill in the content for it.

Add a Block Paragraph Type.

NoOp migration destination plugin

Submitted by Unifex on
The NoOp destination plugin was needed because the NullDestination plugin appears to not work on purpose.

ValueFromCsv migration process plugin

Submitted by Unifex on
I had a Drupal 8 migration where there was some data that was available, but not available from the source DB. However, I was able to get this data in a separate CSV file and a value in the source db was available in this CSV file also. So I had a way around the issue.

SkipOn404 migration process plugin

Submitted by Unifex on
This process plugin was created due to a dodgy source repository.  Not all the files were available and the default file_copy plugin would crash and burn if the source was not there.  This plugin can be used in the process section of a Drupal 8 migration like this;

Drupal turns 17

Submitted by Unifex on

Just over 10 years ago I settled on a single content management system as the thing that I would use as the core of my development work.  At the time Drupal 4.6 was the bleeding edge and it was... okay.  It was the best of a fairly rough bunch. In fairness though, that opinion is from my current position with 20:20 hindsight.

Seventeen years ago today Dries released Drupal 1.0 under an open source licence and things have only gotten better since then.

 

My year off is near its end

Submitted by Unifex on

Last year was bad. Losing Julian was one of the final straws. I pretty much checked out of everything for the year. Token activity on social media, barely looked at any code, no projects for friends, charity or pay. For the most part I let my inner misanthrope win and have had very little social contact at all.

I'm finding that I don't mind it either and I suspect this will continue for a bit longer.

Another new beginning...

Submitted by Unifex on
So, I've had the domain from.nz for some time and I've finally found the time to sit down and do something with it. This site is primarily going to be a blog and experimental playground for using Drupal 8.