exit;
}// We have to enable the user and system modules, even to check access and
// display errors via the maintenance theme.
\Drupal::
moduleHandler()->
addModule('system', 'core/modules/system'
);
\Drupal::
moduleHandler()->
addModule('user', 'core/modules/user'
);
\Drupal::
moduleHandler()->
load('system'
);
\Drupal::
moduleHandler()->
load('user'
);
// Initialize the maintenance theme for this administrative script.
drupal_maintenance_theme();
$content =
[];
$show_messages = TRUE;
$is_allowed =
authorize_access_allowed($request);
// Build content.
if ($is_allowed) { // Load both the Form API and Batch API.
require_once __DIR__ . '/includes/form.inc';
require_once __DIR__ . '/includes/batch.inc';