I am trying to clear the cache programmatically using cron job. I am using the following code to clear the cache.
drupal_flush_all_caches()
But the problem is, the front page is still getting me the cached value. Its not clearing the cache. The other pages are fine with the latest values updated.Can anyone give me the solution. I am using the drupal version 8.2.x.
When i search for it, other strings show up too. When i change the string i want, Drupal says that i can't use HTML strings. But they are only on the other strings that show up too. Not in the one that i want to translate.
I am unable to get C.O.R.S (Cross-origin resource sharing) working on my module on a multi-site running on Dupal 8.3.5, my website is also run by Apache. I have tried the https://www.drupal.org/node/2715637, and older methods: such as configuring the .htaccess files and trying to add header("Access-Control-Allow-Origin: *"); with no avail.
Hi all,
we are using the module Webform to offer some complex forms to the customers on a Drupal8 site.
We have to produce a PDF copy of each submission.
I've seen that there is not a Drupal8 version of Webform2PDF.
Which is, according to you, the best alternative?