No even
<?php
$testVar = 'xx';
as plugins/siteController.php
don’t work (undefined variable $textVar
). Adding compact('testVar');
don’t help. I guess it has something to do with variable scopes, but I don’t know PHP and Kirby’s internals well enough …