Skip to main content
Home
Drupal Developer

Main navigation

  • My modules
  • My work
  • Articles
  • Contact
Language switcher
  • English English
  • French French

Articles

By Jean, 12 February, 2022
Image
Console cmd QA

Quality audit of a project with Drupal 8 / 9

Since I work with Drupal, I had a lot of project, with some case of third party application maintenance. One of the most consistent problem is the very low quality of the code, whatever it's a big company or a small client, there is always a lack of technical management. Drupal the culprit? Drupal is very flexible and is probably providing the most powerful site building in the industry. But...
More

Tags

  • Drupal 9
  • Drupal 8
  • QA
  • Coding
By Jean, 30 December, 2021
Image
Coding

Drupal 9 confirmFormBase in the same class as our form

With Drupal 9 we have access to the class confirmFormBase which extends FormBase. This class is used to quickly add a confirm step to your form. Common usage is to confirm a deletion: "Are you sure you want to delete node 23?" The basic usage is to create a new route for the confirm form, living side of your form, and use route parameter to pass an id. One form woth confirm step included But here...
More

Tags

  • Drupal 9
  • Form
  • Confirm form
  • Coding
By Jean, 16 December, 2021
Image
Drupal Olivero theme

Create a Drupal 9 Olivero sub theme

New Olivero theme is a great new front theme introduced with Drupal 9.1. But for now Olivero is not yet stable. Still, here is a simple article to create a sub theme for Olivero.
More

Tags

  • theming
  • Drupal 9
  • Olivero
By Jean, 23 July, 2019
Image
Drupal and Gitlab CI

Quickly setup Gtilab-CI with your Drupal 8 module

Gitlab-CI introduced a flexible and powerful CI solution. My project Giltab CI fo Drupal 8 is meant to ease the integration with a Drupal 8 project. It is now ready to handle a single module or theme and provide a full pipeline for your testing. Here is a brief article to integrate Gitlab-CI with your module in probably less than 10 minutes! This CI includes Drupal testing (Unit, Functional...
More

Tags

  • Gitlab-ci
  • Gitlab
  • Drupal 8
By Jean, 9 February, 2019
Image
JavaScript testing

Drupal 8 JavaScript tests with Nightwatch.js and Docker

JavaScript tests under Drupal 8 with Chrome.
More

Tags

  • Drupal 8
  • Gitlab-ci
  • NightwatchJS
By Jean, 22 January, 2019
Image
Drupal dependency Injection

Dependency injection when extending a class that implements ControllerBase

Here is an almost typical use case when developing custom code for Drupal 8. A third party module declare a controller with a method that you want to override because you need to change the logic and there is no practical way to do it in the module (could be a hook). But this class implements ControllerBase with dependency injection, (and override most of the methods in ControllerBase, but this is...
More

Tags

  • Drupal 8
  • Custom code
  • Dependency injection
By Jean, 23 December, 2018
Image
Drupal and Gitlab CI

Drupal 8 et Gitlab-ci

Dans le cadre du travail en livraison continue, il existe de nombreuses solutions de CD. Voici un exemple d'utilisation de Gitlab-CI avec Drupal 8. Intégration / Livraison continue Le service d'intégration continue Gitlab-CI fait parti des derniers arrivant et propose une solution complète, très extensible et pour l'instant sans coût pour mettre en place votre flux de travail avec Drupal 8. Le...
More

Tags

  • Drupal 8
  • Docker
  • Gitlab
  • Gitlab-ci
By Jean, 22 October, 2018
Image
Drupal Twig Theming

Theme preprocess and suggestions for Drupal 8 Bootstrap sub theme

Building enough Drupal 8 websites I ended up applying always the same basic set of code in my Bootstrap sub theme. Preprocess hooks are a common way in Drupal to add or manipulate variables that you can use in your Twig templates files. Suggestions hooks is a common way in Drupal 8 to extend the templates you can use for any part of your code. Here is a snippet of this, copy this in your theme...
More

Tags

  • Drupal 8
  • theming
By Jean, 3 January, 2018
Image
Drupal and Docker

Un environnement de développement Drupal 8 avec Docker

Cela fait maintenant quelques temps que j'utilise et maintiens ma propre solution de développement Drupal 8 avec Docker : Drupal 8 Docker Development Plutôt axé sur un usage sous Linux ou Mac, Docker compose permet de mettre en place un environnement complet en séparant chaque services pour plus de flexibilité. Par exemple mon projet inclus Apache, Php 7, MySQL, PostgreSQL, Memcache, Solr, Redis...
More

Tags

  • Drupal 8
  • Docker
  • Docker Compose
  • Développement
By Jean, 20 March, 2017
Image
Drupal 8 module

Module Drupal 8 de notification en cas de multi édition.

Si vous utilisez Content moderation avec Drupal 8, vous pouvez rencontrer un problème quand plusieurs utilisateurs modifient le même contenu. Lors de l'enregistrement un message d'alerte indiquera qu'une nouvelle version à été enregistré et l'utilisateur devra de nouveau faire ses modifications. J'ai donc créer un simple module pour avertir l'éditeur pendant son édition si un autre utilisateur à...
More

Tags

  • Drupal 8
  • moderation

Pagination

  • Current page 1
  • Page 2
  • Page 3
  • Next page
  • Last page

About me

Jean Valverde

Jean Valverde

Php developer
Drupal expert
Bordeaux - France

Contact me

I offer various services on PHP, Drupal development, audits, training and deployment.

Contact me for a free quote on any Drupal / Php related project at contactatdeveloppeur-drupal [dot] com

Drupal Developer

About me

Jean Valverde

Jean Valverde

Php developer
Drupal expert
Bordeaux - France

My online profiles

  • Drupal.org
  • Gitlab.com
  • Docker.hub
  • Github.com

Contact me

I offer various services on PHP, Drupal development, audits, training and deployment.

Contact me for a free quote on any Drupal / Php related project at contactatdeveloppeur-drupal [dot] com

Powered by Drupal