require_once $this->root . '/core/includes/module.inc';
require_once $this->root . '/core/includes/theme.inc';
require_once $this->root . '/core/includes/form.inc';
require_once $this->root . '/core/includes/errors.inc';
} /**
* {@inheritdoc}
*/
public function preHandle(Request
$request) { // Sanitize the request.
$request = RequestSanitizer::
sanitize( $request,
(array) Settings::
get(RequestSanitizer::SANITIZE_INPUT_SAFE_KEYS,
[]),
(bool) Settings::
get(RequestSanitizer::SANITIZE_LOG, FALSE
) );
$this->
loadLegacyIncludes();
// Load all enabled modules.
$this->container->
get('module_handler'
)->
loadAll();
// Register stream wrappers.