Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Hi,
I am using Drupal 8 with the Content Translation and the Language modules activated. I would like to do some changes in my page.html.twig template depending on the language. I can't find the piece of code to detect the current language in the TWIG template, any help on that direction would be really appreciated.
I am running D 8.1 and use Ckeditor which is in Core. I have several sites in D7 and use Ckeditor there, too. My problem is that in D8 I cannot resize images, I cannot change font size, nor fonts, embed Youtube videos, and many other things.
In my project Drupal is going to act as a Headless CMS. In order to use the CRUD operation using the REST API in drupal 8, I need the authentication token. Using basic_auth or oauth or simple_oauth I could manually copy from admin panel do the CRUD operation.