plus-8.x-4.x-dev/autoload-fix.php
autoload-fix.php
<?php /** * @file * Fix the class loader to allow cross-request class based theme callbacks. */ /** * Invokes \Drupal\Core\Extension\ThemeHandler::listInfo. * * This is in an attempt to ensure theme autoloading works properly. * * @see \Drupal\plus\Plus::autoloadFixInclude */ try { \Drupal::service('theme_handler')->listInfo(); } catch (\Exception $e) { // Intentionally left blank. }