Hello I'm new in drupal, I have a problem with drupal 8.8. The site has a custom module, to obtain data from an API. After editing the source code of it. Clear the cache, restart the server and manually execute the cron, but still the changes are not observed, do I need to do something else? What i'm doing wrong?
in a form after checking on the user I would like to display a msg with a modal window, so that the user is forced to read and then move on.
I currently use \Drupal::messenger()->addMessage()
It sounds simple but I've been struggling with it for long hours:
My question is: how do I get a country name of a certain country in a different language?
The details: I have a multilingual website, Hebrew and English.
When I am on the English website, for example, I have to translate "United status" to Hebrew. But I'm on the English website so I can't use any of the methods...
My requirement is to create a Paragraph type Paragraph module (https://prnt.sc/voys9a) with some fields textbox and text area. I am thinking to create a simple module which create my paragraph type which i can use every where where my module available. so please guide me how can i create Paragraph type via programming.