I'm trying to use responsive image styles to load images depending on the viewport.
Drupal does load images correctly - if you're on a mobile screen, a small image is served, if you have a desktop screen you get a bigger image.
However, if you resize your screen, there is no change - the first image is still used. If you start with the small window (e. g. 400px) and you suddenly expand the window to 1280px, nothing happens - D8 still uses that small image for 400px screen.
Error: Class 'Drupal\Core\Session\AccountInterface' [Drupal-path]/core/includes/bootstrap.inc, line 58
This is gotten through any drush commands, after installation which is successful; when the current directory is not within the Drupal install, drush works just fine.
I have created a custom module in drupal 8. Everything works very well but found one error logs. Whenever the page will get refreshed this invalid render array error thrown.
I try to dig the code and found that problem might be in my module template file. Even if i tried to do {{ dump(user) }} than found the same error.
Hi guys, so I've pretty much browsed all the solutions for this problem I'm having and I still can't solve this routing problem. I keep getting a "Page Not Found" error. I am using Drupal 8, following the PSR-4 naming convention.