What is st(), t(), get_t(), l() ?
Answer / Vineet Kumar Yadav
In Drupal, these functions are used for text manipulation and translation:
st(): Returns a string for template usage.
t(): Translates a string.
get_t(): Returns translated content as a PHP variable.
l(): Concatenates translations and returns the resulting string.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you transfer files to the system?
What is drupal hosting?
How to move a drupal site from one host/server to another?
How to handle localization in drupal?
What is the use of the field set the width of each sidebar in the layout and general settings?
How will you create theme in drupal and what are the files required for to create theme?
Is drupal a programming language?
List out some of the modules used in drupal?
What is drush used in drupal?
What is responsive theme?
What is a base theme in drupal?
What is drupal 8 ?