LATEST ARTICLES

Get vocabulary by name in Drupal 8+

Get vocabulary by name in Drupal 8+

0
In this post, I will share with you a snippet to get vocabulary by name in Drupal 8+. function getVocabularyByName($vocabularyName) { $vocabularies...
Embed files in Go

Embed files in Go

0
In this post, I will show you a tip to embed files in Go (golang), which, in facts, reads file contents into a variable. Starting...
Clear a map in Go

Clear a map in Go

0
In this post, I will share with you a quick tip to clear a map in Go. There are two ways to clear a map...
Check if order was created by customer or admin in Magento 2

Check if order was created by customer or admin in Magento 2

0
A little trick to check if order was created by customer or admin in Magento 2. In Magento 2, by default, if order was created...
Check if key exists in a map in Go

Check if key exists in a map in Go

0
In this post, I will show you a tip to check if key exists in a map in Go (golang). When we access the value...