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

ArtuDrop created an issue. See original summary.

markhalliwell’s picture

Category: Bug report » Support request
Priority: Major » Normal
Status: Active » Closed (works as designed)

The 7.x-1.x branch is outdated and full of bugs. Use the 7.x-2.x branch instead.