I am developing a custom module for a multilingual Drupal 8.7.x website. I need to get the label of a field attached to a node which has several translations. I cannot find a way to get the translated label of this field from my module's code.
The field label is translated by using the Translate Content Fields action, the one at /admin/structure/types/manage/{content type name}/fields/{field name}/translate. The translated label displays as expected on the node add/edit form and on the node page.
i converted the DB from utf8 to utf8mb4 in my local server and i imported the DB to my hosting (godaddy hosting) i got this message: Specified key was too long; max key length is 767 bytes
i can't access to my.cnf or my.ini files
is there any other solution ? maybe i need to edit something in the database !!!
Hi. I'm setting up Drupal 8 for a community whose members have some common knowledge that the spammers don't have. I can, therefore, control spamming by asking the new users to choose the photo that is most relevant to the community as part of signing up.
How to get nearby zip codes of a particular zip code and radius using google map in Drupal 7? Zip code and radius fields are there in search form. After providing a particular zip code and radius(ex 5 mile), it will return some zip codes within the given radius. How google map api will process the particular zip code(12345) and given radius(5 miles) and return a set of nearby zip codes?