autoload-fix.php in Express 8
Fix the class loader to allow cross-request class based theme callbacks.
File
themes/contrib/bootstrap/autoload-fix.phpView source
<?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\bootstrap\Bootstrap::autoloadFixInclude
*/
try {
\Drupal::service('theme_handler')
->listInfo();
} catch (\Exception $e) {
// Intentionally left blank.
}