Setting entity form widgets and view display formatters

About the writer

victor.bourgade

Victor is a web developer passionnated in drupal and bootstrap technologies. He likes challenges and beautiful designs.

When not behind his computer you'll find him drinking beers with friends or in the middle of nowhere hiking with his dog.

Submitted by victor.bourgade on
When building a custom entity programmatically, you'll find yourself wondering which type of display options to use for your fields. The full list can be easily retrieved with these small helpers snippets.

Programmatically make a recurring payment

About the writer

victor.bourgade

Victor is a web developer passionnated in drupal and bootstrap technologies. He likes challenges and beautiful designs.

When not behind his computer you'll find him drinking beers with friends or in the middle of nowhere hiking with his dog.

Submitted by victor.bourgade on
How to programmatically create a recurring payment with Drupal commerce recurring module.

Display explanation or submission guidelines on a custom route

About the writer

victor.bourgade

Victor is a web developer passionnated in drupal and bootstrap technologies. He likes challenges and beautiful designs.

When not behind his computer you'll find him drinking beers with friends or in the middle of nowhere hiking with his dog.

Submitted by victor.bourgade on
Drupal allows configuring explanation and submission guidelines for each content type. How to display those on a custom route ?

Using "new" indicator in a custom controller

About the writer

victor.bourgade

Victor is a web developer passionnated in drupal and bootstrap technologies. He likes challenges and beautiful designs.

When not behind his computer you'll find him drinking beers with friends or in the middle of nowhere hiking with his dog.

Submitted by victor.bourgade on
Drupal core provides out of the box a "new" indicator to tell users when there is a new content for them, such as nodes or comments. How to implement this in a custom controller ?

Using username than user id in user paths

About the writer

victor.bourgade

Victor is a web developer passionnated in drupal and bootstrap technologies. He likes challenges and beautiful designs.

When not behind his computer you'll find him drinking beers with friends or in the middle of nowhere hiking with his dog.

Submitted by victor.bourgade on
Drupal by default uses user UIDs in its path to retrieve a user object. How to pass the username in URLs and retrieve the user object from the route match interface.

Renaming files with a random name.

About the writer

victor.bourgade

Victor is a web developer passionnated in drupal and bootstrap technologies. He likes challenges and beautiful designs.

When not behind his computer you'll find him drinking beers with friends or in the middle of nowhere hiking with his dog.

Submitted by victor.bourgade on
How to rename uploaded files with programmatically generated random names on Drupal 8/9.

Create a dynamic menu link

About the writer

victor.bourgade

Victor is a web developer passionnated in drupal and bootstrap technologies. He likes challenges and beautiful designs.

When not behind his computer you'll find him drinking beers with friends or in the middle of nowhere hiking with his dog.

Submitted by victor.bourgade on
How to programmatically create a dynamic menu link (and pass it an argument).

Using Rules with Commerce Funds

About the writer

victor.bourgade

Victor is a web developer passionnated in drupal and bootstrap technologies. He likes challenges and beautiful designs.

When not behind his computer you'll find him drinking beers with friends or in the middle of nowhere hiking with his dog.

Submitted by victor.bourgade on
Combine the power of Rules with Commerce Funds. Make custom forms and trigger transactions with Rules.

Food delivery platform with Drupal

About the writer

victor.bourgade

Victor is a web developer passionnated in drupal and bootstrap technologies. He likes challenges and beautiful designs.

When not behind his computer you'll find him drinking beers with friends or in the middle of nowhere hiking with his dog.

Submitted by victor.bourgade on
Building a food delivery platform with Drupal Commerce and Commerce Funds.

How to join user table with another table in views data

About the writer

victor.bourgade

Victor is a web developer passionnated in drupal and bootstrap technologies. He likes challenges and beautiful designs.

When not behind his computer you'll find him drinking beers with friends or in the middle of nowhere hiking with his dog.

Submitted by victor.bourgade on
How to implement custom views data on Drupal 8 and to join the user table to the query using hook_views_data(). Making a relationship between a user uid and the user table to finally get a fully loaded user object.