Skip to main content
4
results
Andrew Fletcher
You can create a new date/time format by navigating to: Admin -> Configuration -> Regional and Language -> Date and Time format and click on 'Add Format'. Once you’ve created date format, you can control the way date is displayed on the node using preprocess function. In {theme_name}.theme file, add the following lines /** * Implements hook_preprocess_node */ function THEME_NAME_preprocess_node(&$variables) { // Getting the node creation time stamp from the node object. $date...
Andrew Fletcher
iOS localization on the fly If you have added languages to your app......
Andrew Fletcher
Localization is the process of showing other languages in your app and is...
Andrew Fletcher
Registering a user via REST is an important process particularly when the...