Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It works without setting a bootsrap level or with
'bootstrap' => DRUPAL_BOOTSTRAP_FULL.
When I set 'bootstrap' => DRUPAL_BOOTSTRAP_SESSION (for example) it doesn't work.
More precisely it works at first, even after a D. cache cleaning.
But then this callback is crashing, and I have an error:
"
Got error 'PHP message: PHP Fatal error: Call to undefined function path_is_admin() in /var/www/drupalvm/myngl/modules/system/system.module on line 1908\n'
"
Comments
Comment #2
markhalliwellThe 7.x-1.x branch is outdated and full of bugs. Use the 7.x-2.x branch instead.