Added the Search API Synonym module to deal specifically with licence and license...
[yaffs-website] / web / themes / contrib / bootstrap / autoload-fix.php
1 <?php
2
3 /**
4  * @file
5  * Fix the class loader to allow cross-request class based theme callbacks.
6  */
7
8 /**
9  * Invokes \Drupal\Core\Extension\ThemeHandler::listInfo.
10  *
11  * This is in an attempt to ensure theme autoloading works properly.
12  *
13  * @see \Drupal\bootstrap\Bootstrap::autoloadFixInclude
14  */
15 try {
16   \Drupal::service('theme_handler')->listInfo();
17 }
18 catch (\Exception $e) {
19   // Intentionally left blank.
20 }