Drupal 8 - Longer Titles - Entity Title Length/Node Title Length

I created this post to have a quick overview of the two different Drupal 8 modules that extend the default node title length.  There are currently two modules: Node Title Length and Entity Title Length.  

Both modules are easy to set up and both have a very minimal configuration.   I do recommend the Node Title Length module due to being in a stable and released state.

Node Title Length [Recommended]

Drupal 8 Commerce - Setting a Default Currency on Product Variations

By default Drupal 8 commerce 2.x product variations do not have a default currency setting for multi-currency projects.  

Currently, there is a patch in the works to solve this issue.  The patch can be found in the commerce issue queue: https://www.drupal.org/project/commerce/issues/3016777

Thank you a.dmitriiev for creating a patch to solve this issue!

Drupal 8 Configuration Synchronization

Configuration Synchronization

Drupal 8 has a really great configuration synchronization system, and is great for syncing up different environments.  When creating new modules and adding new fuctionality I really enjoy working with Drupal 8's configuration synchronization tool.  Not only does this tool take the guesswork out of updates that need to be made on other environments.  The configuration synchronization also allows for all changes to be documented.  

Drupal 8 Commerce Tax for VAT and Sales Tax

Today I have been working through an issue with commerce tax.  I had to apply a patch that allows me to configure taxes a bit more.

The patch allows Drupal commerce to decouple the tax calculation with the store address.  That way the Drupal commerce store can have multiple tax rates instead of one tax rate for the state the store is located in.  

Drupal Issue: https://www.drupal.org/project/commerce/issues/3005440

Exchange Rates API

Wow, what a great little API.  Exchange Rates API is a free API that helps with currency conversion rates.  

All that needs to be sent is the base currency and the currency that you want to convert.  Then the conversion rate is returned.  Making it simple. 


GET Request: https://api.exchangeratesapi.io/latest?base=USD&symbols=GBP

Result: {"base":"EUR","rates":{"USD":1.1264,"GBP":0.86168},"date":"2019-04-11"}

Drupal and Cloudflare

Cloudflare is a great tool to add another layer of security to your Drupal website.  

When setup correctly Cloudflare will act as a firewall to block malicious traffic to your Drupal website at the application level.  Cloudflare blocks many types of attacks: cross-site scripting, cross-site forgery requests, and SQL injection attacks.  User checks can also be enabled such as GEO IP location and browser integrity checking to limit questionable or unneeded traffic.

Cloudflare also acts as a CDN and has many caching and performance features.  

Drupal 7: End of Life 2021

Recently I have been planning ahead with a couple of clients for their Drupal 7 upgrade.  Drupal 7 will be supported by the community until the end of November 2021.

What does this mean for Drupal 7 projects?  It means that if you haven't started planning an upgrade to Drupal 8, you should now.  

The same goes for Drupal 8 and Drupal 8 will only be supported to the end of 2021 like Drupal 7, but the transition will be very easy to Drupal 9.  That means by the end of  2021 each Drupal 7 and Drupal 8 project should be updated to the latest version of Drupal 8.