Blog

How to alter the term page title (add html) in drupal 8?

Drupal 8 will standard give the term name as page title on /taxonomy/term/term-foo. I want to alter this so it says "Items tagged with Term foo". 

Blog

Migrate data from drupal 7 to drupal 8 custom script

How can you query for nodes, terms etc of a drupal 7 website from your drupal 8 website? 

Blog

Add your theme css to ckeditor in drupal 8 [updated]

A frustrating thing for webmasters is often that they cannot see the eventual lay-out of text styling in their CKEditor. This snippet fixes this issue.

Blog

How to add real inline javascript to a drupal 8 page or module

This module explains how you can add custom scripts inside your controllers. Something that is useful for things like e-commerce and advertising.

Blog

Add extra "Add content"-link to toolbar menu in drupal 8

This little tip adds just that extra good feeling for your webmasters. And a click less to the "Add content" page.

Blog

Date field formatting in twig in drupal 8

The following snippet makes you format a date field inside a twig file.

Blog

Get current language langcode in drupal 8

You often need to get the current language in your Drupal 8 custom modules or theme. Here's how to get it.

Blog

How to import a specific config files map with drush

Sometimes you want to import specific config files, out of your main config library. Here's a drush snippet which does exactly that.

Blog

Override language domains configuration locally in drupal 8

When a drupal site has different domains for its language, difficulties can arise when developing locally. With this snippet, you override your language settings, so prefixes are used instead of domains.

Blog

Allow markup inside drupal 8 Link function

Always try to use the core functions for linking inside custom formatters or modules. The following snippet allows html inside the link text.

Subscribe to