How to stop Drupal storing sessions

I created a module to authenticate and log in users thanks to a card and I need to check if they can access the website.

The problem is with the way Drupal manages sessions. It stores every sessions in the database and restores it, so the user is automatically logged in, this causes the user to not go through the checking process.

Is it possible to stop storing the sessions in the database ?

Drupal 8 preprocess views_view_unformatted__themename

I am trying to access the field content for a view. I have been using dump, kint with varying degrees of success. I have to quit the browser each time I try something new and clear the cache. (I have correctly setup debugging in my settings etc files.
I am coming from a very strong procedural drupal background. I have studies OOP, Symfony but I am just not connecting the dots.
I have function themename_preprocess_views_view_unformatted(&$variables) {
$variables[??????????????]
}

Image field widget or module to download image from an external URL and to bulk upload images creating a new node for each?

The core image field widget offers to select a local file to upload. But what if I don't have the file locally but have an URL to a remotely hosted file? Can't seem to find a widget that would offer to either select a local file OR enter an external URL to get the image from.

(APC-)Error: Argument 1 passed to twig_init() must be an instance of Drupal\Core\Extension\Extension, array given in twig_init()

Hello everybody,

this is my first post and I am completely new to drupal. I have problems installing Drupal on a Windows 7 machine on Zend Server.

The installation process went well but after a while of browsing, I get:
Recoverable fatal error: Argument 1 passed to twig_init() must be an instance of Drupal\Core\Extension\Extension, array given in twig_init() (line 34 of core\themes\engines\twig\twig.engine).

The most important next step for Drupal

In my opinion the single greatest failure of Drupal is to force the theme development community to improve their offering.

One of the great advances for Drupal 8 is the shield identifying modules that are certified for installation.

This concept must be applied to themes. There is an urgent need for themes to be certified for (a) installation on a new Drupal 8 website and (b) installation on an existing Drupal 8 website and (c) being able to be installed through the Appearance->Install new theme feature provided with Drupal 8.

theming function in module + block

Hello
I'm trying to implement a theming function for creating a block-menu displaying links from the main-menu like this :
in MymoduleBlock.php

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x