Welcoming all Drupal Users & Developers from India.
We will grow by helping others to grow!
Let's contribute back to drupal community by share our topics, discussions, challenges here and make it as Knowledge Base.
Love to see more topics in Drupal 8
Paypal integration in Drupal 8
Hi Team,
As a admin I am submitting a form ( content type) that has a field "price" which captures the payment amount.This amount need to be paid using paypal by redirecting the user to paypal webiste on clicking the pay button which is present in a page.
Can we get some inputs here?
Thanks
Read moreUpdate Drupal 8 Core by Composer with only dependencies
Consider current site is in 8.3.5 version.
Below are the steps to update to latest 8.6.1 version.
Uninstall Drush
composer remove drush/drush
Uninstall Drupal Console and its dependencies
composer remove drupal/console drupal/console-core drupal/console-en drupal/console-extend-plugin
Update Drupal core
composer update drupal/core symfony/* --with-dependencies
Re-add Drush (older version ex. 8.1.16)
composer require drush/drush ~8.0 --update-with-dependencies
Update Drush (ex. 9.4.0)
composer update drush/drush --with-dependencies
Read moreWhen is Custom entity needed in Drupal 8?
Drupal 8 core has entities like node, user, taxonomy..etc., which helps to process different types of data based on their usage.
Likewise, we can create custom entity to maintain structured data like customer data, inventory data, products data..etc.,
When is Custom entity needed in Drupal 8?
1) When there are requirements for huge number of fields.
2) When exposing data to different applications. The "UUID" generated will be used as reference for each entry to other applications.
Apply Drupal 8 Patch by Composer without update Drupal Core
Use the below procedure to apply the patch for composer based Drupal 8 website without updating the core version.
FYI, There was high critical security vulnerability issue fix :
https://www.drupal.org/sa-core-2018-002
https://groups.drupal.org/security/faq-2018-002
Please make sure "cweagans/composer-patches" plugin added in your composer.json and lock file or else use below command to add them.
composer require cweagans/composer-patches
Steps to update the patch.
Read more