Skip to main content
Drupal 8

Main navigation

  • Home
    • Question And Answer
    • NEWS
    • Projects
  • Tutorials - Drupal
    • Android
    • Other
User account menu
  • Log in
By editor , 8 July, 2023

Install PHP 8.1

Tags

  • Drupal 10
  • Linux
  • Server
  • PHP

Example for Debian:

Enable sury/php repository

apt-get install php8.1-{cgi,cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,curl,xml,zip}

 

Install additional PHP packages

apt-get install php8.1-{cgi,cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,curl,xml,zip}

By nuwantha , 1 June, 2022

Drupal Security Best Practices

Tags

  • Drupal 8
  • Drupal 9
  • Security

1. Update drupal core and contrib odules to the last version
Example with composer if you use core-recommended:
composer update  drupal/core-recommended:9.3.14 -W

By editor , 8 March, 2022

Order and sort items with tabledrag

Tags

  • Drupal 8
  • Code
  • Drupal 9
  • Table

Draggable table Form Example


Step 1 : Form build

By editor , 12 January, 2022

Add a custom service YAML container

Tags

  • Drupal 8
  • Code
  • Settings
  • Services
  • YAML

Example: settings for local environnement.
Create the local settings file : local.services.yml the add to local settings.php file

# Local service config
$settings['container_yamls'][] = DRUPAL_ROOT . '/sites/default/local.services.yml';

By editor , 23 November, 2021

Apply a patch with composer

Tags

  • Drupal 8
  • Code
  • Composer

Step 1 : Add the package cweagans/composer-patches
composer require cweagans/composer-patches

Pagination

  • First page
  • Previous page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Page 6
  • Page 7
  • Page 8
  • Page 9
  • …
  • Next page
  • Last page

Links

  • Drupal.org
  • Drupal core release cycle
  • Drupal events with ease
  • Unit test with Drupal using PHPUnit (Drupal 10)
  • Tokens for file upload url
  • Tips for Docker
  • CKEditor inline image files usage for custom forms.
  • Install Docker on Linux Mint
  • Install PHP 8.1
  • Drupal Security Best Practices
  • Order and sort items with tabledrag
  • Add a custom service YAML container
  • Apply a patch with composer