En construcción...

Image
A collection of mugs with names on it
Get the title from a Url in Drupal
Drupal

As I was building a module to create bookmark in Drupal, I needed to find the best way to retrieve the page title for any given Url possible (e.g. path aliases).

It turns out there is a resolver service for that: the title_resolver.

However it is not obvious how to use it. There are just a few implementation in core and none is easy to duplicate and use as-is in your own module. So I'd like to share my solution.

Image
Screenshot of a Calendar View using a date field with multiple values.
How to create a Calendar in Drupal
Drupal

TL;DR: Get 📅 Calendar View, create a View and exposed one or multiple date fields.

Image
Hacker by night
How to create fields programmatically in Drupal
Drupal

Have you ever faced a project where there are tons of fields to create and you just don't feel like clicking through the Drupal admin UI to configure them one by one ? Your fields might also be shared between several bundles and so you have to recreate them, again and again, for each node types. Then comes the time to place your fields in each form displays and each view displays...

Depending on the complexity of your project and the size of your team, the task of creating/configuring/placing fields correctly in Drupal can be very looong and tedious.

Image
A matrix computer screen
Desarrollar hyper rapido en local con Lando

Mi sesión realizada en el DrupalCamp Montreal 2018 acerca del workflow alta velocidad para Drupal 7 y 8 con Composer, NPM y Lando.

Image
Two look-alike birds
How to safely override or extend other services' methods in Drupal 8
Drupal

So you want to edit a specific piece of code provided by a class from Drupal's core or from a contrib module?

...

Image
Someone clicking on something
Cómo someter automáticamente los filtros de vistas en Drupal
Drupal

Solo necesitas unas pocas líneas de Javascript para filtrar automáticamente todas tus vistas.

Image
Panier de fraises
How to render Add to cart form programmatically with Drupal Commerce 2
DrupalE-commerce

Basically, we use the great Lazy Builder provided by Commerce Cart module. Easy peazy!

Image
Multilingual world
How to filter Drupal 8 menu by current language
Drupal

Menus are very specials in Drupal 8 - and sometimes very frustrated too!
Learn how to filter menu items by the current user's language in Drupal 8.