Patches in drupal 8

 First run below command 

Composer require cweagans/composer-patches


After that add below code in composer.json file 

"extra": {
    "patches": {
        "drupal/core": {
            "patch info": "patch url/path"
        }
    },
   
}
The put patches in extra which will be already created there.

Run below command 

composer install




Comments