What is a patch in drupal and how will we apply patch in drupal?



What is a patch in drupal and how will we apply patch in drupal?..

Answer / Pankaj Sen

A patch in Drupal refers to changes made to the codebase, which can be applied to update or modify existing modules. To apply a patch in Drupal, you need to download it as a .patch file and then use the 'patch' command from the terminal. Change into your Drupal root directory and run the following command: `patch -p0 < path/to/your_patch_file.patch`. If successful, you will see the message "Hunk #1 succeeded at line ...".

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Drupal Interview Questions

How to migrate your joomla site to drupal site?

1 Answers  


How to create drupal site using drush commands?

1 Answers  


What is the use of auto-reply field in contact module?

1 Answers  


How will you create a field using code?

0 Answers  


How to backup a drupal site?

1 Answers  


What is comment moderation in drupal?

1 Answers  


How to create the table using module?

1 Answers  


Explain the seo modules available in drupal?

1 Answers  


Explain the database system in drupal.

1 Answers  


what is the use of git stash command?

1 Answers  


How many types of cms are there?

1 Answers  


Where do you find the themes to install?

1 Answers  


Categories