User login


Doing well on job interviews and employment tests

This is mostly not the kind of stuff Agaric does. But if you're going for a more traditional corporate, governmental, or non-profit job, this may help.

In-person test as part of a job application

It's likely to be timed. Bring a watch or timer, anything that works well for you and can't be banned as a way to look up answers on the Internet.

It's worth asking if there's any restriction on using the Internet, as you'll probably be able to use the Internet in doing your actual job.

Migrating date field content to Drupal 8


All i need?

Yes, if configured exactly right (this is still always trial and error for me)

Writing in ASCIIdoc with Asciidoctor for easy creation of book-quality PDFs

Note: I'm doing this because Leanpub (like appears to be keeping proprietary the software for generating PDFs, ePub, Mobi etc from their open standard Markua. At least i couldn't find anything searching 'publish "markua" to PDF'. And Leanpub charges $99 to start writing a book with their toolset.

I followed the Debian instructions at

Date field date-only migration from Drupal 7 to Drupal 8

After we did the upgrade of a Drupal 7 site to Drupal 8, a date field which had been taking only the date portion, and no time portion, was now configured to take both the date and the time. Moreover, the migration wasn't working.

We changed the configuration from datetime to date

Here's the relevant part of the diff for config/default/

Argument 2 passed to hook help() must be an instance of RouteMatchInterface

I got this error message, that argument two passed to my module's implementation of hook_help() "must be an instance of RouteMatchInterface, instance of Drupal\Core\Routing\CurrentRouteMatch given", and it's a misleading one.

CurrentRouteMatch in fact (unsurprisingly) implements the RouteMatchInterface. The problem was i hadn't actually defined CurrentRouteMatch— i needed to have a use statement at the top of my module (or use the full PSR4 path in the parameter definition of the hook implementation, but i went with the former). Like so:

Allowing regular (short) text fields to use the multiline textarea form widget

There's a module for that now:

It's nice and simple with an alter hook (as detailed on the module page) and in this answer.

Implementing Webmentions for Drupal 8

Starting informational links:

Multistakeholder and Platform Cooperatives resources

A core concept of Platform Cooperatives [ ] isn't new— the idea that a cooperative enterprise maybe should not be entirely owned and controlled by only workers or only consumers. This kind of cooperative has been called hybrid, solidarity, or multi-stakeholder:

Using composer require to get an alpha, beta, or release candidate of a Drupal 8 module

The composer require command can help you get your requirements into composer.json more easily. However, that ease is more theoretical than actual for modules without a full stable release.

The Honeypot module has a full stable release version, so any of these will work:

composer require drupal/honeypot:8.*
composer require drupal/honeypot:8.x
composer require drupal/honeypot:8
composer require drupal/honeypot

Syndicate content