Drupal 8's Form API is a continuation of an idea that was started way back in Drupal 4.x and provides a convenient, secure, predictable and incredibly useful abstraction for creating and processing HTML forms. Once you know how to use it. And you really should.

By binarycubes, 7 September, 2018
Patch Core

"extra": {
    "enable-patching": true,
    "patches": {
        "drupal/core": {
            "<patch1 information>": "<patch1 file path>",
            "<patch2 information>": "<patch2 file path>"
        }
     }
}



Patch Contrib

"patches": {
   "drupal/module_name": {
      "<patch information>": "<patch file path>"
    }
}



Run "composer Install"

Run "composer update --lock"



Reference: https://groups.drupal.org/node/518975