/var/www/geopietra.it/public_html/web/core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php
}
/**
* {@inheritdoc}
*
* This is a helper function that calls buildExternalUrl() or buildLocalUrl()
* based on a check of whether the path is a valid external URL.
*/
public function assemble($uri, array $options = [], $collect_bubbleable_metadata = FALSE) {
// Note that UrlHelper::isExternal will return FALSE if the $uri has a
// disallowed protocol. This is later made safe since we always add at
// least a leading slash.
if (parse_url($uri, PHP_URL_SCHEME) === 'base') {
return $this->buildLocalUrl($uri, $options, $collect_bubbleable_metadata);
}
elseif (UrlHelper::isExternal($uri)) {
// UrlHelper::isExternal() only returns true for safe protocols.
return $this->buildExternalUrl($uri, $options, $collect_bubbleable_metadata);
}
throw new \InvalidArgumentException("The URI '$uri' is invalid. You must use a valid URI scheme. Use base: for a path, e.g., to a Drupal file that needs the base path. Do not use this for internal paths controlled by Drupal.");
}
/**
* {@inheritdoc}
*/
protected function buildExternalUrl($uri, array $options = [], $collect_bubbleable_metadata = FALSE) {
$this->addOptionDefaults($options);
// Split off the query & fragment.
$parsed = UrlHelper::parse($uri);
$uri = $parsed['path'];
$parsed += ['query' => []];
$options += ['query' => []];
$options['query'] = NestedArray::mergeDeepArray([$parsed['query'], $options['query']], TRUE);
if ($parsed['fragment'] && !$options['fragment']) {
$options['fragment'] = '#' . $parsed['fragment'];
}
Arguments
"The URI 'httpss://www.geopietra.com/content/privacy-policy' is invalid. You must use a valid URI scheme. Use base: for a path, e.g., to a Drupal file that needs the base path. Do not use this for internal paths controlled by Drupal."
/var/www/geopietra.it/public_html/web/core/lib/Drupal/Core/Url.php
* string or fragment specified by the options array.
*
* If this Url object was constructed from a Drupal route or from an internal
* URI (URIs using the internal:, base:, or entity: schemes), the returned
* string will either be a relative URL like /node/1 or an absolute URL like
* http://example.com/node/1 depending on the options array, plus any
* specified query string or fragment.
*
* @param bool $collect_bubbleable_metadata
* (optional) Defaults to FALSE. When TRUE, both the generated URL and its
* associated bubbleable metadata are returned.
*
* @return string|\Drupal\Core\GeneratedUrl
* A string URL.
* When $collect_bubbleable_metadata is TRUE, a GeneratedUrl object is
* returned, containing the generated URL plus bubbleable metadata.
*/
public function toString($collect_bubbleable_metadata = FALSE) {
if ($this->unrouted) {
return $this->unroutedUrlAssembler()->assemble($this->getUri(), $this->getOptions(), $collect_bubbleable_metadata);
}
return $this->urlGenerator()->generateFromRoute($this->getRouteName(), $this->getRouteParameters(), $this->getOptions(), $collect_bubbleable_metadata);
}
/**
* Returns the route information for a render array.
*
* @return array
* An associative array suitable for a render array.
*/
public function toRenderArray() {
$render_array = [
'#url' => $this,
'#options' => $this->getOptions(),
];
if (!$this->unrouted) {
$render_array['#access_callback'] = [get_class(), 'renderAccess'];
}
return $render_array;
Arguments
"httpss://www.geopietra.com/content/privacy-policy"
array:1 [
"external" => true
]
true
/var/www/geopietra.it/public_html/web/modules/contrib/redirect/src/RedirectRepository.php
return $redirect;
}
// Reset found redirects.
$this->foundRedirects = [];
return NULL;
}
/**
* Helper function to find recursive redirects.
*
* @param \Drupal\redirect\Entity\Redirect
* The redirect object.
* @param string $language
* The language to use.
*/
protected function findByRedirect(Redirect $redirect, $language) {
$uri = $redirect->getRedirectUrl();
$base_url = \Drupal::request()->getBaseUrl();
$generated_url = $uri->toString(TRUE);
$path = ltrim(substr($generated_url->getGeneratedUrl(), strlen($base_url)), '/');
$query = $uri->getOption('query') ?: [];
$return_value = $this->findMatchingRedirect($path, $query, $language);
return $return_value ? $return_value->addCacheableDependency($generated_url) : $return_value;
}
/**
* Finds redirects based on the source path.
*
* @param string $source_path
* The redirect source path (without the query).
*
* @return \Drupal\redirect\Entity\Redirect[]
* Array of redirect entities.
*/
public function findBySourcePath($source_path) {
$ids = $this->manager->getStorage('redirect')->getQuery()
->condition('redirect_source.path', $source_path, 'LIKE')
->execute();
return $this->manager->getStorage('redirect')->loadMultiple($ids);
Arguments
/var/www/geopietra.it/public_html/web/modules/contrib/redirect/src/RedirectRepository.php
$hashes[] = Redirect::generateHash($source_path, [], $language);
if ($language != Language::LANGCODE_NOT_SPECIFIED) {
$hashes[] = Redirect::generateHash($source_path, [], Language::LANGCODE_NOT_SPECIFIED);
}
}
// Load redirects by hash. A direct query is used to improve performance.
$rid = $this->connection->query('SELECT rid FROM {redirect} WHERE hash IN (:hashes[]) ORDER BY LENGTH(redirect_source__query) DESC', [':hashes[]' => $hashes])->fetchField();
if (!empty($rid)) {
// Check if this is a loop.
if (in_array($rid, $this->foundRedirects)) {
throw new RedirectLoopException('/' . $source_path, $rid);
}
$this->foundRedirects[] = $rid;
$redirect = $this->load($rid);
// Find chained redirects.
if ($recursive = $this->findByRedirect($redirect, $language)) {
// Reset found redirects.
$this->foundRedirects = [];
return $recursive;
}
return $redirect;
}
// Reset found redirects.
$this->foundRedirects = [];
return NULL;
}
/**
* Helper function to find recursive redirects.
*
* @param \Drupal\redirect\Entity\Redirect
* The redirect object.
* @param string $language
* The language to use.
Arguments
Drupal\redirect\Entity\Redirect {#995}
"en"
/var/www/geopietra.it/public_html/web/modules/contrib/redirect/src/EventSubscriber/RedirectRequestSubscriber.php
if (strpos($request->getPathInfo(), '/system/files/') === 0 && !$request->query->has('file')) {
// Private files paths are split by the inbound path processor and the
// relative file path is moved to the 'file' query string parameter. This
// is because the route system does not allow an arbitrary amount of
// parameters. We preserve the path as is returned by the request object.
// @see \Drupal\system\PathProcessor\PathProcessorFiles::processInbound()
$path = $request->getPathInfo();
}
else {
// Do the inbound processing so that for example language prefixes are
// removed.
$path = $this->pathProcessor->processInbound($request->getPathInfo(), $request);
}
$path = trim($path, '/');
$this->context->fromRequest($request);
try {
$redirect = $this->redirectRepository->findMatchingRedirect($path, $request_query, $this->languageManager->getCurrentLanguage()->getId());
}
catch (RedirectLoopException $e) {
\Drupal::logger('redirect')->warning('Redirect loop identified at %path for redirect %rid', ['%path' => $e->getPath(), '%rid' => $e->getRedirectId()]);
$response = new Response();
$response->setStatusCode(503);
$response->setContent('Service unavailable');
$event->setResponse($response);
return;
}
if (!empty($redirect)) {
// Handle internal path.
$url = $redirect->getRedirectUrl();
if ($this->config->get('passthrough_querystring')) {
$url->setOption('query', (array) $url->getOption('query') + $request_query);
}
$headers = [
'X-Redirect-ID' => $redirect->id(),
];
Arguments
"content/privacy-policy"
[]
"en"
/var/www/geopietra.it/public_html/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php
}
if (isset($this->listeners[$event_name])) {
// Sort listeners if necessary.
if (isset($this->unsorted[$event_name])) {
krsort($this->listeners[$event_name]);
unset($this->unsorted[$event_name]);
}
// Invoke listeners and resolve callables if necessary.
foreach ($this->listeners[$event_name] as $priority => &$definitions) {
foreach ($definitions as $key => &$definition) {
if (!isset($definition['callable'])) {
$definition['callable'] = [$this->container->get($definition['service'][0]), $definition['service'][1]];
}
if (is_array($definition['callable']) && isset($definition['callable'][0]) && $definition['callable'][0] instanceof \Closure) {
$definition['callable'][0] = $definition['callable'][0]();
}
call_user_func($definition['callable'], $event, $event_name, $this);
if ($event->isPropagationStopped()) {
return $event;
}
}
}
}
return $event;
}
/**
* {@inheritdoc}
*/
public function getListeners($event_name = NULL) {
$result = [];
if ($event_name === NULL) {
// If event name was omitted, collect all listeners of all events.
foreach (array_keys($this->listeners) as $event_name) {
$listeners = $this->getListeners($event_name);
Arguments
Symfony\Component\HttpKernel\Event\GetResponseEvent {#306}
"kernel.request"
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher {#66
#container: Drupal\Core\DependencyInjection\Container {#25 …7}
#listeners: array:58 [
"routing.route_finished" => array:4 [
200 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "cache_router_rebuild_subscriber"
1 => "onRouterFinished"
]
]
]
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "menu.rebuild_subscriber"
1 => "onRouterRebuild"
]
]
]
0 => array:4 [
0 => array:1 [
"service" => array:2 [
0 => "router.route_provider"
1 => "reset"
]
]
1 => array:1 [
"service" => array:2 [
0 => "router.route_preloader"
1 => "onFinishedRoutes"
]
]
2 => array:1 [
"service" => array:2 [
0 => "router.path_roots_subscriber"
1 => "onRouteFinished"
]
]
3 => array:1 [
"service" => array:2 [
0 => "views.route_subscriber"
1 => "routeRebuildFinished"
]
]
]
-3000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "router.route_provider.lazy_builder"
1 => "routerRebuildFinished"
]
]
]
]
"config.save" => array:4 [
255 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config.factory"
1 => "onConfigSave"
]
]
]
128 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "entity.query.config"
1 => "onConfigSave"
]
]
]
20 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "onConfigSave"
]
]
]
0 => array:14 [
0 => array:1 [
"service" => array:2 [
0 => "captcha.config_subscriber"
1 => "onSave"
]
]
1 => array:1 [
"service" => array:2 [
0 => "color.config_cache_invalidator"
1 => "onChange"
]
]
2 => array:1 [
"service" => array:2 [
0 => "language.config_subscriber"
1 => "onConfigSave"
]
]
3 => array:1 [
"service" => array:2 [
0 => "libraries.config_subscriber"
1 => "onConfigSave"
]
]
4 => array:1 [
"service" => array:2 [
0 => "locale.config_subscriber"
1 => "onConfigSave"
]
]
5 => array:1 [
"service" => array:2 [
0 => "media.config_subscriber"
1 => "onSave"
]
]
6 => array:1 [
"service" => array:2 [
0 => "node.admin_path.route_subscriber"
1 => "onConfigSave"
]
]
7 => array:1 [
"service" => array:2 [
0 => "redirect.settings_cache_tag"
1 => "onSave"
]
]
8 => array:1 [
"service" => array:2 [
0 => "rest.config_subscriber"
1 => "onSave"
]
]
9 => array:1 [
"service" => array:2 [
0 => "serialization.bc_config_subscriber"
1 => "onConfigSave"
]
]
10 => array:1 [
"service" => array:2 [
0 => "system.config_subscriber"
1 => "onConfigSave"
]
]
11 => array:1 [
"service" => array:2 [
0 => "system.config_cache_tag"
1 => "onSave"
]
]
12 => array:1 [
"service" => array:2 [
0 => "system.timezone_resolver"
1 => "onConfigSave"
]
]
13 => array:1 [
"service" => array:2 [
0 => "pathauto.settings_cache_tag"
1 => "onSave"
]
]
]
]
"config.delete" => array:5 [
255 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config.factory"
1 => "onConfigDelete"
]
]
]
128 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "entity.query.config"
1 => "onConfigDelete"
]
]
]
50 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "facets.event_subscriber"
1 => "onConfigDelete"
]
]
]
20 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "onConfigDelete"
]
]
]
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "color.config_cache_invalidator"
1 => "onChange"
]
]
]
]
"config.importer.missing_content" => array:1 [
-1024 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config.importer_subscriber"
1 => "onMissingContent"
]
]
]
]
"kernel.request" => array:13 [
1000 => array:2 [
0 => array:2 [
"service" => array:2 [
0 => "options_request_listener"
1 => "onRequest"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\OptionsRequestSubscriber {#307}
1 => "onRequest"
]
]
1 => array:2 [
"service" => array:2 [
0 => "redirect_leading_slashes_subscriber"
1 => "redirect"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\RedirectLeadingSlashesSubscriber {#310}
1 => "redirect"
]
]
]
300 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onKernelRequestAuthenticate"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#323}
1 => "onKernelRequestAuthenticate"
]
]
]
299 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "system.timezone_resolver"
1 => "setDefaultTimeZone"
]
"callable" => array:2 [
0 => Drupal\system\TimeZoneResolver {#324}
1 => "setDefaultTimeZone"
]
]
]
256 => array:2 [
0 => array:2 [
"service" => array:2 [
0 => "devel.error_subscriber"
1 => "registerErrorHandler"
]
"callable" => array:2 [
0 => Drupal\devel\EventSubscriber\ErrorHandlerSubscriber {#366}
1 => "registerErrorHandler"
]
]
1 => array:2 [
"service" => array:2 [
0 => "devel.theme_rebuild_subscriber"
1 => "rebuildThemeInfo"
]
"callable" => array:2 [
0 => Drupal\devel\EventSubscriber\ThemeInfoRebuildSubscriber {#750}
1 => "rebuildThemeInfo"
]
]
]
255 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "language_request_subscriber"
1 => "onKernelRequestLanguage"
]
"callable" => array:2 [
0 => Drupal\language\EventSubscriber\LanguageRequestSubscriber {#753}
1 => "onKernelRequestLanguage"
]
]
]
50 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "ajax_response.subscriber"
1 => "onRequest"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AjaxResponseSubscriber {#790}
1 => "onRequest"
]
]
]
34 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "redirect_domain.request_subscriber"
1 => "onKernelRequestCheckDomainRedirect"
]
"callable" => array:2 [
0 => Drupal\redirect_domain\EventSubscriber\DomainRedirectRequestSubscriber {#795}
1 => "onKernelRequestCheckDomainRedirect"
]
]
]
33 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "redirect.request_subscriber"
1 => "onKernelRequestCheckRedirect"
]
"callable" => array:2 [
0 => Drupal\redirect\EventSubscriber\RedirectRequestSubscriber {#827}
1 => "onKernelRequestCheckRedirect"
]
]
]
32 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "router_listener"
1 => "onKernelRequest"
]
]
]
31 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onKernelRequestFilterProvider"
]
]
1 => array:1 [
"service" => array:2 [
0 => "user_maintenance_mode_subscriber"
1 => "onKernelRequestMaintenance"
]
]
]
30 => array:4 [
0 => array:1 [
"service" => array:2 [
0 => "maintenance_mode_subscriber"
1 => "onKernelRequestMaintenance"
]
]
1 => array:1 [
"service" => array:2 [
0 => "ads_data_collector.event_subscriber"
1 => "collectAdsData"
]
]
2 => array:1 [
"service" => array:2 [
0 => "language_redirect.default"
1 => "redirectLanguage"
]
]
3 => array:1 [
"service" => array:2 [
0 => "redirect.route_normalizer_request_subscriber"
1 => "onKernelRequestRedirect"
]
]
]
27 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "dynamic_page_cache_subscriber"
1 => "onRequest"
]
]
]
0 => array:5 [
0 => array:1 [
"service" => array:2 [
0 => "database.replica_kill_switch"
1 => "checkReplicaServer"
]
]
1 => array:1 [
"service" => array:2 [
0 => "router.route_preloader"
1 => "onRequest"
]
]
2 => array:1 [
"service" => array:2 [
0 => "advagg_mod.init_subscriber"
1 => "onEvent"
]
]
3 => array:1 [
"service" => array:2 [
0 => "csv_serialization.csvsubscriber"
1 => "onKernelRequest"
]
]
4 => array:1 [
"service" => array:2 [
0 => "smart_ip.geolocate_user_subscriber"
1 => "geolocateUser"
]
]
]
]
"routing.route_dynamic" => array:3 [
3000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "router.route_provider.lazy_builder"
1 => "routerRebuilding"
]
]
]
0 => array:3 [
0 => array:1 [
"service" => array:2 [
0 => "entity_route_subscriber"
1 => "onDynamicRouteEvent"
]
]
1 => array:1 [
"service" => array:2 [
0 => "path.route_subscriber_bc"
1 => "onDynamicRouteEvent"
]
]
2 => array:1 [
"service" => array:2 [
0 => "rest.resource_routes"
1 => "onDynamicRouteEvent"
]
]
]
-10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "rest.resource.entity.post_route.subscriber"
1 => "onDynamicRouteEvent"
]
]
]
]
"config.importer.validate" => array:3 [
512 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "system.config_subscriber"
1 => "onConfigImporterValidateNotEmpty"
]
]
]
256 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "system.config_subscriber"
1 => "onConfigImporterValidateSiteUUID"
]
]
]
20 => array:3 [
0 => array:1 [
"service" => array:2 [
0 => "entity.bundle_config_import_validator"
1 => "onConfigImporterValidate"
]
]
1 => array:1 [
"service" => array:2 [
0 => "config_import_subscriber"
1 => "onConfigImporterValidate"
]
]
2 => array:1 [
"service" => array:2 [
0 => "config.config_subscriber"
1 => "onConfigImporterValidate"
]
]
]
]
"routing.route_alter" => array:11 [
5000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "route_http_method_subscriber"
1 => "onRouteBuilding"
]
]
]
100 => array:4 [
0 => array:1 [
"service" => array:2 [
0 => "devel.route_subscriber"
1 => "onAlterRoutes"
]
]
1 => array:1 [
"service" => array:2 [
0 => "token.route_subscriber"
1 => "onAlterRoutes"
]
]
2 => array:1 [
"service" => array:2 [
0 => "ds.route_subscriber"
1 => "onAlterRoutes"
]
]
3 => array:1 [
"service" => array:2 [
0 => "ds_extras.route_subscriber"
1 => "alterRoutes"
]
]
]
0 => array:13 [
0 => array:1 [
"service" => array:2 [
0 => "route_subscriber.module"
1 => "onAlterRoutes"
]
]
1 => array:1 [
"service" => array:2 [
0 => "route_special_attributes_subscriber"
1 => "onAlterRoutes"
]
]
2 => array:1 [
"service" => array:2 [
0 => "administerusersbyrole.route_subscriber"
1 => "onAlterRoutes"
]
]
3 => array:1 [
"service" => array:2 [
0 => "route_subscriber.no_big_pipe"
1 => "onRoutingRouteAlterSetNoBigPipe"
]
]
4 => array:1 [
"service" => array:2 [
0 => "diff.route_subscriber"
1 => "onAlterRoutes"
]
]
5 => array:1 [
"service" => array:2 [
0 => "entity_clone.route_subscriber"
1 => "onAlterRoutes"
]
]
6 => array:1 [
"service" => array:2 [
0 => "media_library.route_subscriber"
1 => "onAlterRoutes"
]
]
7 => array:1 [
"service" => array:2 [
0 => "node.route_subscriber"
1 => "onAlterRoutes"
]
]
8 => array:1 [
"service" => array:2 [
0 => "node.admin_path.route_subscriber"
1 => "onAlterRoutes"
]
]
9 => array:1 [
"service" => array:2 [
0 => "redirect.route_subscriber"
1 => "onAlterRoutes"
]
]
10 => array:1 [
"service" => array:2 [
0 => "serialization.user_route_alter_subscriber"
1 => "onRoutingAlterAddFormats"
]
]
11 => array:1 [
"service" => array:2 [
0 => "webform.route_subscriber"
1 => "onAlterRoutes"
]
]
12 => array:1 [
"service" => array:2 [
0 => "webform_submission_log.route_subscriber"
1 => "onAlterRoutes"
]
]
]
-100 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "auto_entitylabel.route_subscriber"
1 => "onAlterRoutes"
]
]
1 => array:1 [
"service" => array:2 [
0 => "field_ui.subscriber"
1 => "onAlterRoutes"
]
]
]
-110 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config_translation.route_subscriber"
1 => "onAlterRoutes"
]
]
]
-150 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "route_subscriber.entity"
1 => "onRoutingRouteAlterSetType"
]
]
]
-175 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "views.route_subscriber"
1 => "onAlterRoutes"
]
]
]
-200 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "system.admin_path.route_subscriber"
1 => "onAlterRoutes"
]
]
1 => array:1 [
"service" => array:2 [
0 => "tvi.route_subscriber"
1 => "onAlterRoutes"
]
]
]
-210 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "field_group.subscriber"
1 => "onAlterRoutes"
]
]
1 => array:1 [
"service" => array:2 [
0 => "content_translation.subscriber"
1 => "onAlterRoutes"
]
]
]
-220 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "paramconverter_subscriber"
1 => "onRoutingRouteAlterSetParameterConverters"
]
]
]
-1024 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "router.route_preloader"
1 => "onAlterRoutes"
]
]
1 => array:1 [
"service" => array:2 [
0 => "router.path_roots_subscriber"
1 => "onRouteAlter"
]
]
]
]
"kernel.response" => array:12 [
128 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "exception.enforced_form_response"
1 => "onKernelResponse"
]
]
1 => array:1 [
"service" => array:2 [
0 => "rest.resource_response.subscriber"
1 => "onResponse"
]
]
]
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "dynamic_page_cache_subscriber"
1 => "onResponse"
]
]
]
16 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "finish_response_subscriber"
1 => "onAllResponds"
]
]
]
10 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "route_access_response_subscriber"
1 => "onRespond"
]
]
1 => array:1 [
"service" => array:2 [
0 => "client_error_response_subscriber"
1 => "onRespond"
]
]
]
5 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "anonymous_user_response_subscriber"
1 => "onRespond"
]
]
1 => array:1 [
"service" => array:2 [
0 => "html_response.placeholder_strategy_subscriber"
1 => "onRespond"
]
]
]
3 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "html_response.big_pipe_subscriber"
1 => "onRespondEarly"
]
]
]
0 => array:9 [
0 => array:1 [
"service" => array:2 [
0 => "html_response.subscriber"
1 => "onRespond"
]
]
1 => array:1 [
"service" => array:2 [
0 => "finish_response_subscriber"
1 => "onRespond"
]
]
2 => array:1 [
"service" => array:2 [
0 => "response_generator_subscriber"
1 => "onRespond"
]
]
3 => array:1 [
"service" => array:2 [
0 => "redirect_response_subscriber"
1 => "checkRedirectUrl"
]
]
4 => array:1 [
"service" => array:2 [
0 => "advagg.suscriber"
1 => "forceAbsolutePaths"
]
]
5 => array:1 [
"service" => array:2 [
0 => "advagg_mod.init_subscriber"
1 => "deferCss"
]
]
6 => array:1 [
"service" => array:2 [
0 => "advagg_mod.init_subscriber"
1 => "deferJs"
]
]
7 => array:1 [
"service" => array:2 [
0 => "advagg_mod.init_subscriber"
1 => "asyncJs"
]
]
8 => array:1 [
"service" => array:2 [
0 => "views_infinite_scroll.ajax_subscriber"
1 => "onResponse"
]
]
]
-10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "remove_x_frame_options_subscriber"
1 => "RemoveXFrameOptions"
]
]
]
-100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "ajax_response.subscriber"
1 => "onResponse"
]
]
]
-512 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "response_filter.active_link"
1 => "onResponse"
]
]
1 => array:1 [
"service" => array:2 [
0 => "response_filter.rss.relative_url"
1 => "onResponse"
]
]
]
-9999 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "advagg.suscriber"
1 => "processResponse"
]
]
]
-10000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "html_response.big_pipe_subscriber"
1 => "onRespond"
]
]
]
]
"kernel.exception" => & array:18 [
200 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.fast_404_html"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\Fast404ExceptionHtmlSubscriber {#794}
1 => "onException"
]
]
]
128 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.enforced_form_response"
1 => "onKernelException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\EnforcedFormResponseSubscriber {#791}
1 => "onKernelException"
]
]
]
100 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.needs_installer"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\ExceptionDetectNeedsInstallSubscriber {#840}
1 => "onException"
]
]
]
80 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onExceptionAccessDenied"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#323}
1 => "onExceptionAccessDenied"
]
]
]
75 => array:3 [
0 => array:2 [
"service" => array:2 [
0 => "route_enhancer.param_conversion"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\Routing\Enhancer\ParamConversionEnhancer {#826}
1 => "onException"
]
]
1 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onExceptionSendChallenge"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#323}
1 => "onExceptionSendChallenge"
]
]
2 => array:2 [
"service" => array:2 [
0 => "user_access_denied_subscriber"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\user\EventSubscriber\AccessDeniedSubscriber {#789}
1 => "onException"
]
]
]
51 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "form_ajax_subscriber"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\Form\EventSubscriber\FormAjaxSubscriber {#1300}
1 => "onException"
]
]
]
50 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.logger"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\ExceptionLoggingSubscriber {#1297}
1 => "onException"
]
]
]
3 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.test_site"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\ExceptionTestSiteSubscriber {#1301}
1 => "onException"
]
]
]
0 => array:3 [
0 => array:2 [
"service" => array:2 [
0 => "maintenance_mode_subscriber"
1 => "onKernelRequestMaintenance"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\MaintenanceModeSubscriber {#1315}
1 => "onKernelRequestMaintenance"
]
]
1 => array:2 [
"service" => array:2 [
0 => "redirect.404_subscriber"
1 => "onKernelException"
]
"callable" => array:2 [
0 => Drupal\redirect_404\EventSubscriber\Redirect404Subscriber {#797}
1 => "onKernelException"
]
]
2 => array:2 [
"service" => array:2 [
0 => "node.node_translation_exception"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\node\EventSubscriber\NodeTranslationExceptionSubscriber {#1299}
1 => "onException"
]
]
]
-49 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "webform.exception_html_subscriber"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\webform\EventSubscriber\WebformExceptionHtmlSubscriber {#1353}
1 => "onException"
]
]
]
-50 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.custom_page_html"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\CustomPageExceptionHtmlSubscriber {#1311}
1 => "onException"
]
]
]
-64 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "router_listener"
1 => "onKernelException"
]
"callable" => array:2 [
0 => Symfony\Component\HttpKernel\EventListener\RouterListener {#1323}
1 => "onKernelException"
]
]
]
-70 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "serialization.exception.default"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\serialization\EventSubscriber\DefaultExceptionSubscriber {#1310}
1 => "onException"
]
]
]
-75 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.default_json"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\ExceptionJsonSubscriber {#1312}
1 => "onException"
]
]
]
-128 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.default_html"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\DefaultExceptionHtmlSubscriber {#1409}
1 => "onException"
]
]
]
-248 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "whoops.json_exception_subscriber"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\whoops\EventSubscriber\JsonExceptionSubscriber {#1303}
1 => "onException"
]
]
]
-250 => & array:1 [
0 => & array:2 [
"service" => array:2 [
0 => "whoops.exception_subscriber"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\whoops\EventSubscriber\DefaultExceptionSubscriber {#1410}
1 => "onException"
]
]
]
-256 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "exception.final"
1 => "onException"
]
]
]
]
"kernel.view" => array:3 [
1 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "form_ajax_subscriber"
1 => "onView"
]
]
1 => array:1 [
"service" => array:2 [
0 => "menu_block.kernel_view_subscriber"
1 => "onView"
]
]
]
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "psr_response_view_subscriber"
1 => "onKernelView"
]
]
1 => array:1 [
"service" => array:2 [
0 => "main_content_view_subscriber"
1 => "onViewRenderArray"
]
]
]
-10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "renderer_non_html"
1 => "onRespond"
]
]
]
]
"kernel.finish_request" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "router_listener"
1 => "onKernelFinishRequest"
]
]
]
]
"kernel.terminate" => array:4 [
300 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "user_last_access_subscriber"
1 => "onKernelTerminate"
]
]
]
200 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "path_alias.subscriber"
1 => "onKernelTerminate"
]
]
]
100 => array:3 [
0 => array:1 [
"service" => array:2 [
0 => "request_close_subscriber"
1 => "onTerminate"
]
]
1 => array:1 [
"service" => array:2 [
0 => "kernel_destruct_subscriber"
1 => "onKernelTerminate"
]
]
2 => array:1 [
"service" => array:2 [
0 => "automated_cron.subscriber"
1 => "onTerminate"
]
]
]
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "simple_sitemap.views.argument_collector"
1 => "onTerminate"
]
]
]
]
"config.importer.import" => array:2 [
40 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config_snapshot_subscriber"
1 => "onConfigImporterImport"
]
]
]
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "default_content.config_subscriber"
1 => "onConfigImport"
]
]
]
]
"config.transform.import" => array:1 [
-500 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config_exclude_modules_subscriber"
1 => "onConfigTransformImport"
]
]
]
]
"config.transform.export" => array:1 [
500 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config_exclude_modules_subscriber"
1 => "onConfigTransformExport"
]
]
]
]
"kernel.controller" => array:2 [
200 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "path_alias.subscriber"
1 => "onKernelController"
]
]
]
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "early_rendering_controller_wrapper_subscriber"
1 => "onController"
]
]
]
]
"advagg.optimize_css" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "advagg.css_subscriber"
1 => "minify"
]
]
1 => array:1 [
"service" => array:2 [
0 => "advagg_mod.init_subscriber"
1 => "translateCss"
]
]
]
]
"advagg.optimize_js" => array:2 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "advagg.js_subscriber"
1 => "minify"
]
]
]
-10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "advagg_mod.init_subscriber"
1 => "removeConsoleLog"
]
]
]
]
"render.page_display_variant.select" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "block.page_display_variant_subscriber"
1 => "onSelectPageDisplayVariant"
]
]
1 => array:1 [
"service" => array:2 [
0 => "context.block_page_display_variant_subscriber"
1 => "onSelectPageDisplayVariant"
]
]
]
]
"config_translation.populate_mapper" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "editor.config_translation_mapper_subscriber"
1 => "addConfigNames"
]
]
]
]
"imagemagick.toolkit.ensureSourceLocalPath" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "imagemagick.event_subscriber"
1 => "ensureSourceLocalPath"
]
]
]
]
"imagemagick.toolkit.postSave" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "imagemagick.event_subscriber"
1 => "postSave"
]
]
]
]
"imagemagick.convert.preExecute" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "imagemagick.event_subscriber"
1 => "preConvertExecute"
]
]
]
]
"imagemagick.identify.preExecute" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "imagemagick.event_subscriber"
1 => "preIdentifyExecute"
]
]
]
]
"config.collection_info" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "addCollections"
]
]
]
]
"config.rename" => array:1 [
20 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "onConfigRename"
]
]
]
]
"language.save_override" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "locale.config_subscriber"
1 => "onOverrideChange"
]
]
]
]
"language.delete_override" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "locale.config_subscriber"
1 => "onOverrideChange"
]
]
]
]
"locale.save_translation" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "locale.locale_translation_cache_tag"
1 => "saveTranslation"
]
]
]
]
"migrate_plus.prepare_row" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "media_migration.event_subscriber"
1 => "onPrepareRow"
]
]
]
]
"migrate.pre_import" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "migrate.plugin_event_subscriber"
1 => "preImport"
]
]
1 => array:1 [
"service" => array:2 [
0 => "migrate_tools.migration_sync"
1 => "sync"
]
]
]
]
"migrate.post_import" => array:2 [
10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "migrate_tools.migration_drush_command_progress"
1 => "clearProgress"
]
]
]
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "migrate.plugin_event_subscriber"
1 => "postImport"
]
]
1 => array:1 [
"service" => array:2 [
0 => "node.node_translation_migrate"
1 => "onPostImport"
]
]
]
]
"migrate.pre_rollback" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "migrate.plugin_event_subscriber"
1 => "preRollback"
]
]
]
]
"migrate.post_rollback" => array:2 [
10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "migrate_tools.migration_drush_command_progress"
1 => "clearProgress"
]
]
]
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "migrate.plugin_event_subscriber"
1 => "postRollback"
]
]
]
]
"migrate.post_row_save" => array:2 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "node.node_translation_migrate"
1 => "onPostRowSave"
]
]
]
-10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "migrate_tools.migration_drush_command_progress"
1 => "updateProgressBar"
]
]
]
]
"migrate.map_delete" => array:1 [
-10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "migrate_tools.migration_drush_command_progress"
1 => "updateProgressBar"
]
]
]
]
"search_api.task.search_api.entity_datasource.trackItemsInserted" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api.datasource_task_manager"
1 => "processEvent"
]
]
]
]
"search_api.task.search_api.entity_datasource.trackItemsDeleted" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api.datasource_task_manager"
1 => "processEvent"
]
]
]
]
"search_api.task.trackItems" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api.index_task_manager"
1 => "trackItems"
]
]
]
]
"search_api.task.addIndex" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api.server_task_manager"
1 => "processEvent"
]
]
]
]
"search_api.task.updateIndex" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api.server_task_manager"
1 => "processEvent"
]
]
]
]
"search_api.task.removeIndex" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api.server_task_manager"
1 => "processEvent"
]
]
]
]
"search_api.task.deleteItems" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api.server_task_manager"
1 => "processEvent"
]
]
]
]
"search_api.task.deleteAllIndexItems" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api.server_task_manager"
1 => "processEvent"
]
]
]
]
"smart_ip.query_ip_location" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "smart_ip_ipinfodb_web_service.smart_ip_event_subscriber"
1 => "processQuery"
]
]
1 => array:1 [
"service" => array:2 [
0 => "smart_ip_maxmind_geoip2_bin_db.smart_ip_event_subscriber"
1 => "processQuery"
]
]
]
]
"smart_ip.display_admin_settings" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "smart_ip_ipinfodb_web_service.smart_ip_event_subscriber"
1 => "formSettings"
]
]
1 => array:1 [
"service" => array:2 [
0 => "smart_ip_maxmind_geoip2_bin_db.smart_ip_event_subscriber"
1 => "formSettings"
]
]
]
]
"smart_ip.validate_admin_settings" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "smart_ip_ipinfodb_web_service.smart_ip_event_subscriber"
1 => "validateFormSettings"
]
]
1 => array:1 [
"service" => array:2 [
0 => "smart_ip_maxmind_geoip2_bin_db.smart_ip_event_subscriber"
1 => "validateFormSettings"
]
]
]
]
"smart_ip.submit_admin_settings" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "smart_ip_ipinfodb_web_service.smart_ip_event_subscriber"
1 => "submitFormSettings"
]
]
1 => array:1 [
"service" => array:2 [
0 => "smart_ip_maxmind_geoip2_bin_db.smart_ip_event_subscriber"
1 => "submitFormSettings"
]
]
]
]
"smart_ip.get_editable_config_names" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "smart_ip_ipinfodb_web_service.smart_ip_event_subscriber"
1 => "includeEditableConfigNames"
]
]
1 => array:1 [
"service" => array:2 [
0 => "smart_ip_maxmind_geoip2_bin_db.smart_ip_event_subscriber"
1 => "includeEditableConfigNames"
]
]
]
]
"smart_ip.manual_database_update" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "smart_ip_ipinfodb_web_service.smart_ip_event_subscriber"
1 => "manualUpdate"
]
]
1 => array:1 [
"service" => array:2 [
0 => "smart_ip_maxmind_geoip2_bin_db.smart_ip_event_subscriber"
1 => "manualUpdate"
]
]
]
]
"smart_ip.cron_run" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "smart_ip_ipinfodb_web_service.smart_ip_event_subscriber"
1 => "cronRun"
]
]
1 => array:1 [
"service" => array:2 [
0 => "smart_ip_maxmind_geoip2_bin_db.smart_ip_event_subscriber"
1 => "cronRun"
]
]
]
]
"sophron.map.initialize" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "sophron.event_subscriber"
1 => "initializeMap"
]
]
]
]
"account.set" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "system.timezone_resolver"
1 => "setDefaultTimeZone"
]
]
]
]
"entity_type.definition.create" => array:1 [
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "views.entity_schema_subscriber"
1 => "onEntityTypeEvent"
]
]
]
]
"entity_type.definition.update" => array:1 [
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "views.entity_schema_subscriber"
1 => "onEntityTypeEvent"
]
]
]
]
"entity_type.definition.delete" => array:1 [
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "views.entity_schema_subscriber"
1 => "onEntityTypeEvent"
]
]
]
]
"kernel.container.finish_container_initialize_subrequest" => array:1 [
255 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language_request_subscriber"
1 => "onContainerInitializeSubrequestFinished"
]
]
]
]
]
#unsorted: []
+"_serviceId": "event_dispatcher"
}
/var/www/geopietra.it/public_html/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php
}
if (isset($this->listeners[$event_name])) {
// Sort listeners if necessary.
if (isset($this->unsorted[$event_name])) {
krsort($this->listeners[$event_name]);
unset($this->unsorted[$event_name]);
}
// Invoke listeners and resolve callables if necessary.
foreach ($this->listeners[$event_name] as $priority => &$definitions) {
foreach ($definitions as $key => &$definition) {
if (!isset($definition['callable'])) {
$definition['callable'] = [$this->container->get($definition['service'][0]), $definition['service'][1]];
}
if (is_array($definition['callable']) && isset($definition['callable'][0]) && $definition['callable'][0] instanceof \Closure) {
$definition['callable'][0] = $definition['callable'][0]();
}
call_user_func($definition['callable'], $event, $event_name, $this);
if ($event->isPropagationStopped()) {
return $event;
}
}
}
}
return $event;
}
/**
* {@inheritdoc}
*/
public function getListeners($event_name = NULL) {
$result = [];
if ($event_name === NULL) {
// If event name was omitted, collect all listeners of all events.
foreach (array_keys($this->listeners) as $event_name) {
$listeners = $this->getListeners($event_name);
Arguments
array:2 [
0 => Drupal\redirect\EventSubscriber\RedirectRequestSubscriber {#827}
1 => "onKernelRequestCheckRedirect"
]
Symfony\Component\HttpKernel\Event\GetResponseEvent {#306}
"kernel.request"
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher {#66
#container: Drupal\Core\DependencyInjection\Container {#25 …7}
#listeners: array:58 [
"routing.route_finished" => array:4 [
200 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "cache_router_rebuild_subscriber"
1 => "onRouterFinished"
]
]
]
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "menu.rebuild_subscriber"
1 => "onRouterRebuild"
]
]
]
0 => array:4 [
0 => array:1 [
"service" => array:2 [
0 => "router.route_provider"
1 => "reset"
]
]
1 => array:1 [
"service" => array:2 [
0 => "router.route_preloader"
1 => "onFinishedRoutes"
]
]
2 => array:1 [
"service" => array:2 [
0 => "router.path_roots_subscriber"
1 => "onRouteFinished"
]
]
3 => array:1 [
"service" => array:2 [
0 => "views.route_subscriber"
1 => "routeRebuildFinished"
]
]
]
-3000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "router.route_provider.lazy_builder"
1 => "routerRebuildFinished"
]
]
]
]
"config.save" => array:4 [
255 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config.factory"
1 => "onConfigSave"
]
]
]
128 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "entity.query.config"
1 => "onConfigSave"
]
]
]
20 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "onConfigSave"
]
]
]
0 => array:14 [
0 => array:1 [
"service" => array:2 [
0 => "captcha.config_subscriber"
1 => "onSave"
]
]
1 => array:1 [
"service" => array:2 [
0 => "color.config_cache_invalidator"
1 => "onChange"
]
]
2 => array:1 [
"service" => array:2 [
0 => "language.config_subscriber"
1 => "onConfigSave"
]
]
3 => array:1 [
"service" => array:2 [
0 => "libraries.config_subscriber"
1 => "onConfigSave"
]
]
4 => array:1 [
"service" => array:2 [
0 => "locale.config_subscriber"
1 => "onConfigSave"
]
]
5 => array:1 [
"service" => array:2 [
0 => "media.config_subscriber"
1 => "onSave"
]
]
6 => array:1 [
"service" => array:2 [
0 => "node.admin_path.route_subscriber"
1 => "onConfigSave"
]
]
7 => array:1 [
"service" => array:2 [
0 => "redirect.settings_cache_tag"
1 => "onSave"
]
]
8 => array:1 [
"service" => array:2 [
0 => "rest.config_subscriber"
1 => "onSave"
]
]
9 => array:1 [
"service" => array:2 [
0 => "serialization.bc_config_subscriber"
1 => "onConfigSave"
]
]
10 => array:1 [
"service" => array:2 [
0 => "system.config_subscriber"
1 => "onConfigSave"
]
]
11 => array:1 [
"service" => array:2 [
0 => "system.config_cache_tag"
1 => "onSave"
]
]
12 => array:1 [
"service" => array:2 [
0 => "system.timezone_resolver"
1 => "onConfigSave"
]
]
13 => array:1 [
"service" => array:2 [
0 => "pathauto.settings_cache_tag"
1 => "onSave"
]
]
]
]
"config.delete" => array:5 [
255 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config.factory"
1 => "onConfigDelete"
]
]
]
128 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "entity.query.config"
1 => "onConfigDelete"
]
]
]
50 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "facets.event_subscriber"
1 => "onConfigDelete"
]
]
]
20 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "onConfigDelete"
]
]
]
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "color.config_cache_invalidator"
1 => "onChange"
]
]
]
]
"config.importer.missing_content" => array:1 [
-1024 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config.importer_subscriber"
1 => "onMissingContent"
]
]
]
]
"kernel.request" => array:13 [
1000 => array:2 [
0 => array:2 [
"service" => array:2 [
0 => "options_request_listener"
1 => "onRequest"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\OptionsRequestSubscriber {#307}
1 => "onRequest"
]
]
1 => array:2 [
"service" => array:2 [
0 => "redirect_leading_slashes_subscriber"
1 => "redirect"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\RedirectLeadingSlashesSubscriber {#310}
1 => "redirect"
]
]
]
300 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onKernelRequestAuthenticate"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#323}
1 => "onKernelRequestAuthenticate"
]
]
]
299 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "system.timezone_resolver"
1 => "setDefaultTimeZone"
]
"callable" => array:2 [
0 => Drupal\system\TimeZoneResolver {#324}
1 => "setDefaultTimeZone"
]
]
]
256 => array:2 [
0 => array:2 [
"service" => array:2 [
0 => "devel.error_subscriber"
1 => "registerErrorHandler"
]
"callable" => array:2 [
0 => Drupal\devel\EventSubscriber\ErrorHandlerSubscriber {#366}
1 => "registerErrorHandler"
]
]
1 => array:2 [
"service" => array:2 [
0 => "devel.theme_rebuild_subscriber"
1 => "rebuildThemeInfo"
]
"callable" => array:2 [
0 => Drupal\devel\EventSubscriber\ThemeInfoRebuildSubscriber {#750}
1 => "rebuildThemeInfo"
]
]
]
255 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "language_request_subscriber"
1 => "onKernelRequestLanguage"
]
"callable" => array:2 [
0 => Drupal\language\EventSubscriber\LanguageRequestSubscriber {#753}
1 => "onKernelRequestLanguage"
]
]
]
50 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "ajax_response.subscriber"
1 => "onRequest"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AjaxResponseSubscriber {#790}
1 => "onRequest"
]
]
]
34 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "redirect_domain.request_subscriber"
1 => "onKernelRequestCheckDomainRedirect"
]
"callable" => array:2 [
0 => Drupal\redirect_domain\EventSubscriber\DomainRedirectRequestSubscriber {#795}
1 => "onKernelRequestCheckDomainRedirect"
]
]
]
33 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "redirect.request_subscriber"
1 => "onKernelRequestCheckRedirect"
]
"callable" => array:2 [
0 => Drupal\redirect\EventSubscriber\RedirectRequestSubscriber {#827}
1 => "onKernelRequestCheckRedirect"
]
]
]
32 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "router_listener"
1 => "onKernelRequest"
]
]
]
31 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onKernelRequestFilterProvider"
]
]
1 => array:1 [
"service" => array:2 [
0 => "user_maintenance_mode_subscriber"
1 => "onKernelRequestMaintenance"
]
]
]
30 => array:4 [
0 => array:1 [
"service" => array:2 [
0 => "maintenance_mode_subscriber"
1 => "onKernelRequestMaintenance"
]
]
1 => array:1 [
"service" => array:2 [
0 => "ads_data_collector.event_subscriber"
1 => "collectAdsData"
]
]
2 => array:1 [
"service" => array:2 [
0 => "language_redirect.default"
1 => "redirectLanguage"
]
]
3 => array:1 [
"service" => array:2 [
0 => "redirect.route_normalizer_request_subscriber"
1 => "onKernelRequestRedirect"
]
]
]
27 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "dynamic_page_cache_subscriber"
1 => "onRequest"
]
]
]
0 => array:5 [
0 => array:1 [
"service" => array:2 [
0 => "database.replica_kill_switch"
1 => "checkReplicaServer"
]
]
1 => array:1 [
"service" => array:2 [
0 => "router.route_preloader"
1 => "onRequest"
]
]
2 => array:1 [
"service" => array:2 [
0 => "advagg_mod.init_subscriber"
1 => "onEvent"
]
]
3 => array:1 [
"service" => array:2 [
0 => "csv_serialization.csvsubscriber"
1 => "onKernelRequest"
]
]
4 => array:1 [
"service" => array:2 [
0 => "smart_ip.geolocate_user_subscriber"
1 => "geolocateUser"
]
]
]
]
"routing.route_dynamic" => array:3 [
3000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "router.route_provider.lazy_builder"
1 => "routerRebuilding"
]
]
]
0 => array:3 [
0 => array:1 [
"service" => array:2 [
0 => "entity_route_subscriber"
1 => "onDynamicRouteEvent"
]
]
1 => array:1 [
"service" => array:2 [
0 => "path.route_subscriber_bc"
1 => "onDynamicRouteEvent"
]
]
2 => array:1 [
"service" => array:2 [
0 => "rest.resource_routes"
1 => "onDynamicRouteEvent"
]
]
]
-10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "rest.resource.entity.post_route.subscriber"
1 => "onDynamicRouteEvent"
]
]
]
]
"config.importer.validate" => array:3 [
512 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "system.config_subscriber"
1 => "onConfigImporterValidateNotEmpty"
]
]
]
256 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "system.config_subscriber"
1 => "onConfigImporterValidateSiteUUID"
]
]
]
20 => array:3 [
0 => array:1 [
"service" => array:2 [
0 => "entity.bundle_config_import_validator"
1 => "onConfigImporterValidate"
]
]
1 => array:1 [
"service" => array:2 [
0 => "config_import_subscriber"
1 => "onConfigImporterValidate"
]
]
2 => array:1 [
"service" => array:2 [
0 => "config.config_subscriber"
1 => "onConfigImporterValidate"
]
]
]
]
"routing.route_alter" => array:11 [
5000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "route_http_method_subscriber"
1 => "onRouteBuilding"
]
]
]
100 => array:4 [
0 => array:1 [
"service" => array:2 [
0 => "devel.route_subscriber"
1 => "onAlterRoutes"
]
]
1 => array:1 [
"service" => array:2 [
0 => "token.route_subscriber"
1 => "onAlterRoutes"
]
]
2 => array:1 [
"service" => array:2 [
0 => "ds.route_subscriber"
1 => "onAlterRoutes"
]
]
3 => array:1 [
"service" => array:2 [
0 => "ds_extras.route_subscriber"
1 => "alterRoutes"
]
]
]
0 => array:13 [
0 => array:1 [
"service" => array:2 [
0 => "route_subscriber.module"
1 => "onAlterRoutes"
]
]
1 => array:1 [
"service" => array:2 [
0 => "route_special_attributes_subscriber"
1 => "onAlterRoutes"
]
]
2 => array:1 [
"service" => array:2 [
0 => "administerusersbyrole.route_subscriber"
1 => "onAlterRoutes"
]
]
3 => array:1 [
"service" => array:2 [
0 => "route_subscriber.no_big_pipe"
1 => "onRoutingRouteAlterSetNoBigPipe"
]
]
4 => array:1 [
"service" => array:2 [
0 => "diff.route_subscriber"
1 => "onAlterRoutes"
]
]
5 => array:1 [
"service" => array:2 [
0 => "entity_clone.route_subscriber"
1 => "onAlterRoutes"
]
]
6 => array:1 [
"service" => array:2 [
0 => "media_library.route_subscriber"
1 => "onAlterRoutes"
]
]
7 => array:1 [
"service" => array:2 [
0 => "node.route_subscriber"
1 => "onAlterRoutes"
]
]
8 => array:1 [
"service" => array:2 [
0 => "node.admin_path.route_subscriber"
1 => "onAlterRoutes"
]
]
9 => array:1 [
"service" => array:2 [
0 => "redirect.route_subscriber"
1 => "onAlterRoutes"
]
]
10 => array:1 [
"service" => array:2 [
0 => "serialization.user_route_alter_subscriber"
1 => "onRoutingAlterAddFormats"
]
]
11 => array:1 [
"service" => array:2 [
0 => "webform.route_subscriber"
1 => "onAlterRoutes"
]
]
12 => array:1 [
"service" => array:2 [
0 => "webform_submission_log.route_subscriber"
1 => "onAlterRoutes"
]
]
]
-100 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "auto_entitylabel.route_subscriber"
1 => "onAlterRoutes"
]
]
1 => array:1 [
"service" => array:2 [
0 => "field_ui.subscriber"
1 => "onAlterRoutes"
]
]
]
-110 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config_translation.route_subscriber"
1 => "onAlterRoutes"
]
]
]
-150 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "route_subscriber.entity"
1 => "onRoutingRouteAlterSetType"
]
]
]
-175 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "views.route_subscriber"
1 => "onAlterRoutes"
]
]
]
-200 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "system.admin_path.route_subscriber"
1 => "onAlterRoutes"
]
]
1 => array:1 [
"service" => array:2 [
0 => "tvi.route_subscriber"
1 => "onAlterRoutes"
]
]
]
-210 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "field_group.subscriber"
1 => "onAlterRoutes"
]
]
1 => array:1 [
"service" => array:2 [
0 => "content_translation.subscriber"
1 => "onAlterRoutes"
]
]
]
-220 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "paramconverter_subscriber"
1 => "onRoutingRouteAlterSetParameterConverters"
]
]
]
-1024 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "router.route_preloader"
1 => "onAlterRoutes"
]
]
1 => array:1 [
"service" => array:2 [
0 => "router.path_roots_subscriber"
1 => "onRouteAlter"
]
]
]
]
"kernel.response" => array:12 [
128 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "exception.enforced_form_response"
1 => "onKernelResponse"
]
]
1 => array:1 [
"service" => array:2 [
0 => "rest.resource_response.subscriber"
1 => "onResponse"
]
]
]
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "dynamic_page_cache_subscriber"
1 => "onResponse"
]
]
]
16 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "finish_response_subscriber"
1 => "onAllResponds"
]
]
]
10 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "route_access_response_subscriber"
1 => "onRespond"
]
]
1 => array:1 [
"service" => array:2 [
0 => "client_error_response_subscriber"
1 => "onRespond"
]
]
]
5 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "anonymous_user_response_subscriber"
1 => "onRespond"
]
]
1 => array:1 [
"service" => array:2 [
0 => "html_response.placeholder_strategy_subscriber"
1 => "onRespond"
]
]
]
3 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "html_response.big_pipe_subscriber"
1 => "onRespondEarly"
]
]
]
0 => array:9 [
0 => array:1 [
"service" => array:2 [
0 => "html_response.subscriber"
1 => "onRespond"
]
]
1 => array:1 [
"service" => array:2 [
0 => "finish_response_subscriber"
1 => "onRespond"
]
]
2 => array:1 [
"service" => array:2 [
0 => "response_generator_subscriber"
1 => "onRespond"
]
]
3 => array:1 [
"service" => array:2 [
0 => "redirect_response_subscriber"
1 => "checkRedirectUrl"
]
]
4 => array:1 [
"service" => array:2 [
0 => "advagg.suscriber"
1 => "forceAbsolutePaths"
]
]
5 => array:1 [
"service" => array:2 [
0 => "advagg_mod.init_subscriber"
1 => "deferCss"
]
]
6 => array:1 [
"service" => array:2 [
0 => "advagg_mod.init_subscriber"
1 => "deferJs"
]
]
7 => array:1 [
"service" => array:2 [
0 => "advagg_mod.init_subscriber"
1 => "asyncJs"
]
]
8 => array:1 [
"service" => array:2 [
0 => "views_infinite_scroll.ajax_subscriber"
1 => "onResponse"
]
]
]
-10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "remove_x_frame_options_subscriber"
1 => "RemoveXFrameOptions"
]
]
]
-100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "ajax_response.subscriber"
1 => "onResponse"
]
]
]
-512 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "response_filter.active_link"
1 => "onResponse"
]
]
1 => array:1 [
"service" => array:2 [
0 => "response_filter.rss.relative_url"
1 => "onResponse"
]
]
]
-9999 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "advagg.suscriber"
1 => "processResponse"
]
]
]
-10000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "html_response.big_pipe_subscriber"
1 => "onRespond"
]
]
]
]
"kernel.exception" => & array:18 [
200 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.fast_404_html"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\Fast404ExceptionHtmlSubscriber {#794}
1 => "onException"
]
]
]
128 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.enforced_form_response"
1 => "onKernelException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\EnforcedFormResponseSubscriber {#791}
1 => "onKernelException"
]
]
]
100 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.needs_installer"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\ExceptionDetectNeedsInstallSubscriber {#840}
1 => "onException"
]
]
]
80 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onExceptionAccessDenied"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#323}
1 => "onExceptionAccessDenied"
]
]
]
75 => array:3 [
0 => array:2 [
"service" => array:2 [
0 => "route_enhancer.param_conversion"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\Routing\Enhancer\ParamConversionEnhancer {#826}
1 => "onException"
]
]
1 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onExceptionSendChallenge"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#323}
1 => "onExceptionSendChallenge"
]
]
2 => array:2 [
"service" => array:2 [
0 => "user_access_denied_subscriber"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\user\EventSubscriber\AccessDeniedSubscriber {#789}
1 => "onException"
]
]
]
51 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "form_ajax_subscriber"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\Form\EventSubscriber\FormAjaxSubscriber {#1300}
1 => "onException"
]
]
]
50 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.logger"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\ExceptionLoggingSubscriber {#1297}
1 => "onException"
]
]
]
3 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.test_site"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\ExceptionTestSiteSubscriber {#1301}
1 => "onException"
]
]
]
0 => array:3 [
0 => array:2 [
"service" => array:2 [
0 => "maintenance_mode_subscriber"
1 => "onKernelRequestMaintenance"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\MaintenanceModeSubscriber {#1315}
1 => "onKernelRequestMaintenance"
]
]
1 => array:2 [
"service" => array:2 [
0 => "redirect.404_subscriber"
1 => "onKernelException"
]
"callable" => array:2 [
0 => Drupal\redirect_404\EventSubscriber\Redirect404Subscriber {#797}
1 => "onKernelException"
]
]
2 => array:2 [
"service" => array:2 [
0 => "node.node_translation_exception"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\node\EventSubscriber\NodeTranslationExceptionSubscriber {#1299}
1 => "onException"
]
]
]
-49 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "webform.exception_html_subscriber"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\webform\EventSubscriber\WebformExceptionHtmlSubscriber {#1353}
1 => "onException"
]
]
]
-50 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.custom_page_html"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\CustomPageExceptionHtmlSubscriber {#1311}
1 => "onException"
]
]
]
-64 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "router_listener"
1 => "onKernelException"
]
"callable" => array:2 [
0 => Symfony\Component\HttpKernel\EventListener\RouterListener {#1323}
1 => "onKernelException"
]
]
]
-70 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "serialization.exception.default"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\serialization\EventSubscriber\DefaultExceptionSubscriber {#1310}
1 => "onException"
]
]
]
-75 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.default_json"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\ExceptionJsonSubscriber {#1312}
1 => "onException"
]
]
]
-128 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.default_html"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\DefaultExceptionHtmlSubscriber {#1409}
1 => "onException"
]
]
]
-248 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "whoops.json_exception_subscriber"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\whoops\EventSubscriber\JsonExceptionSubscriber {#1303}
1 => "onException"
]
]
]
-250 => & array:1 [
0 => & array:2 [
"service" => array:2 [
0 => "whoops.exception_subscriber"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\whoops\EventSubscriber\DefaultExceptionSubscriber {#1410}
1 => "onException"
]
]
]
-256 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "exception.final"
1 => "onException"
]
]
]
]
"kernel.view" => array:3 [
1 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "form_ajax_subscriber"
1 => "onView"
]
]
1 => array:1 [
"service" => array:2 [
0 => "menu_block.kernel_view_subscriber"
1 => "onView"
]
]
]
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "psr_response_view_subscriber"
1 => "onKernelView"
]
]
1 => array:1 [
"service" => array:2 [
0 => "main_content_view_subscriber"
1 => "onViewRenderArray"
]
]
]
-10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "renderer_non_html"
1 => "onRespond"
]
]
]
]
"kernel.finish_request" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "router_listener"
1 => "onKernelFinishRequest"
]
]
]
]
"kernel.terminate" => array:4 [
300 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "user_last_access_subscriber"
1 => "onKernelTerminate"
]
]
]
200 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "path_alias.subscriber"
1 => "onKernelTerminate"
]
]
]
100 => array:3 [
0 => array:1 [
"service" => array:2 [
0 => "request_close_subscriber"
1 => "onTerminate"
]
]
1 => array:1 [
"service" => array:2 [
0 => "kernel_destruct_subscriber"
1 => "onKernelTerminate"
]
]
2 => array:1 [
"service" => array:2 [
0 => "automated_cron.subscriber"
1 => "onTerminate"
]
]
]
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "simple_sitemap.views.argument_collector"
1 => "onTerminate"
]
]
]
]
"config.importer.import" => array:2 [
40 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config_snapshot_subscriber"
1 => "onConfigImporterImport"
]
]
]
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "default_content.config_subscriber"
1 => "onConfigImport"
]
]
]
]
"config.transform.import" => array:1 [
-500 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config_exclude_modules_subscriber"
1 => "onConfigTransformImport"
]
]
]
]
"config.transform.export" => array:1 [
500 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config_exclude_modules_subscriber"
1 => "onConfigTransformExport"
]
]
]
]
"kernel.controller" => array:2 [
200 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "path_alias.subscriber"
1 => "onKernelController"
]
]
]
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "early_rendering_controller_wrapper_subscriber"
1 => "onController"
]
]
]
]
"advagg.optimize_css" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "advagg.css_subscriber"
1 => "minify"
]
]
1 => array:1 [
"service" => array:2 [
0 => "advagg_mod.init_subscriber"
1 => "translateCss"
]
]
]
]
"advagg.optimize_js" => array:2 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "advagg.js_subscriber"
1 => "minify"
]
]
]
-10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "advagg_mod.init_subscriber"
1 => "removeConsoleLog"
]
]
]
]
"render.page_display_variant.select" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "block.page_display_variant_subscriber"
1 => "onSelectPageDisplayVariant"
]
]
1 => array:1 [
"service" => array:2 [
0 => "context.block_page_display_variant_subscriber"
1 => "onSelectPageDisplayVariant"
]
]
]
]
"config_translation.populate_mapper" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "editor.config_translation_mapper_subscriber"
1 => "addConfigNames"
]
]
]
]
"imagemagick.toolkit.ensureSourceLocalPath" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "imagemagick.event_subscriber"
1 => "ensureSourceLocalPath"
]
]
]
]
"imagemagick.toolkit.postSave" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "imagemagick.event_subscriber"
1 => "postSave"
]
]
]
]
"imagemagick.convert.preExecute" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "imagemagick.event_subscriber"
1 => "preConvertExecute"
]
]
]
]
"imagemagick.identify.preExecute" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "imagemagick.event_subscriber"
1 => "preIdentifyExecute"
]
]
]
]
"config.collection_info" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "addCollections"
]
]
]
]
"config.rename" => array:1 [
20 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "onConfigRename"
]
]
]
]
"language.save_override" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "locale.config_subscriber"
1 => "onOverrideChange"
]
]
]
]
"language.delete_override" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "locale.config_subscriber"
1 => "onOverrideChange"
]
]
]
]
"locale.save_translation" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "locale.locale_translation_cache_tag"
1 => "saveTranslation"
]
]
]
]
"migrate_plus.prepare_row" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "media_migration.event_subscriber"
1 => "onPrepareRow"
]
]
]
]
"migrate.pre_import" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "migrate.plugin_event_subscriber"
1 => "preImport"
]
]
1 => array:1 [
"service" => array:2 [
0 => "migrate_tools.migration_sync"
1 => "sync"
]
]
]
]
"migrate.post_import" => array:2 [
10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "migrate_tools.migration_drush_command_progress"
1 => "clearProgress"
]
]
]
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "migrate.plugin_event_subscriber"
1 => "postImport"
]
]
1 => array:1 [
"service" => array:2 [
0 => "node.node_translation_migrate"
1 => "onPostImport"
]
]
]
]
"migrate.pre_rollback" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "migrate.plugin_event_subscriber"
1 => "preRollback"
]
]
]
]
"migrate.post_rollback" => array:2 [
10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "migrate_tools.migration_drush_command_progress"
1 => "clearProgress"
]
]
]
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "migrate.plugin_event_subscriber"
1 => "postRollback"
]
]
]
]
"migrate.post_row_save" => array:2 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "node.node_translation_migrate"
1 => "onPostRowSave"
]
]
]
-10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "migrate_tools.migration_drush_command_progress"
1 => "updateProgressBar"
]
]
]
]
"migrate.map_delete" => array:1 [
-10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "migrate_tools.migration_drush_command_progress"
1 => "updateProgressBar"
]
]
]
]
"search_api.task.search_api.entity_datasource.trackItemsInserted" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api.datasource_task_manager"
1 => "processEvent"
]
]
]
]
"search_api.task.search_api.entity_datasource.trackItemsDeleted" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api.datasource_task_manager"
1 => "processEvent"
]
]
]
]
"search_api.task.trackItems" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api.index_task_manager"
1 => "trackItems"
]
]
]
]
"search_api.task.addIndex" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api.server_task_manager"
1 => "processEvent"
]
]
]
]
"search_api.task.updateIndex" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api.server_task_manager"
1 => "processEvent"
]
]
]
]
"search_api.task.removeIndex" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api.server_task_manager"
1 => "processEvent"
]
]
]
]
"search_api.task.deleteItems" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api.server_task_manager"
1 => "processEvent"
]
]
]
]
"search_api.task.deleteAllIndexItems" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api.server_task_manager"
1 => "processEvent"
]
]
]
]
"smart_ip.query_ip_location" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "smart_ip_ipinfodb_web_service.smart_ip_event_subscriber"
1 => "processQuery"
]
]
1 => array:1 [
"service" => array:2 [
0 => "smart_ip_maxmind_geoip2_bin_db.smart_ip_event_subscriber"
1 => "processQuery"
]
]
]
]
"smart_ip.display_admin_settings" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "smart_ip_ipinfodb_web_service.smart_ip_event_subscriber"
1 => "formSettings"
]
]
1 => array:1 [
"service" => array:2 [
0 => "smart_ip_maxmind_geoip2_bin_db.smart_ip_event_subscriber"
1 => "formSettings"
]
]
]
]
"smart_ip.validate_admin_settings" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "smart_ip_ipinfodb_web_service.smart_ip_event_subscriber"
1 => "validateFormSettings"
]
]
1 => array:1 [
"service" => array:2 [
0 => "smart_ip_maxmind_geoip2_bin_db.smart_ip_event_subscriber"
1 => "validateFormSettings"
]
]
]
]
"smart_ip.submit_admin_settings" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "smart_ip_ipinfodb_web_service.smart_ip_event_subscriber"
1 => "submitFormSettings"
]
]
1 => array:1 [
"service" => array:2 [
0 => "smart_ip_maxmind_geoip2_bin_db.smart_ip_event_subscriber"
1 => "submitFormSettings"
]
]
]
]
"smart_ip.get_editable_config_names" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "smart_ip_ipinfodb_web_service.smart_ip_event_subscriber"
1 => "includeEditableConfigNames"
]
]
1 => array:1 [
"service" => array:2 [
0 => "smart_ip_maxmind_geoip2_bin_db.smart_ip_event_subscriber"
1 => "includeEditableConfigNames"
]
]
]
]
"smart_ip.manual_database_update" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "smart_ip_ipinfodb_web_service.smart_ip_event_subscriber"
1 => "manualUpdate"
]
]
1 => array:1 [
"service" => array:2 [
0 => "smart_ip_maxmind_geoip2_bin_db.smart_ip_event_subscriber"
1 => "manualUpdate"
]
]
]
]
"smart_ip.cron_run" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "smart_ip_ipinfodb_web_service.smart_ip_event_subscriber"
1 => "cronRun"
]
]
1 => array:1 [
"service" => array:2 [
0 => "smart_ip_maxmind_geoip2_bin_db.smart_ip_event_subscriber"
1 => "cronRun"
]
]
]
]
"sophron.map.initialize" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "sophron.event_subscriber"
1 => "initializeMap"
]
]
]
]
"account.set" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "system.timezone_resolver"
1 => "setDefaultTimeZone"
]
]
]
]
"entity_type.definition.create" => array:1 [
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "views.entity_schema_subscriber"
1 => "onEntityTypeEvent"
]
]
]
]
"entity_type.definition.update" => array:1 [
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "views.entity_schema_subscriber"
1 => "onEntityTypeEvent"
]
]
]
]
"entity_type.definition.delete" => array:1 [
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "views.entity_schema_subscriber"
1 => "onEntityTypeEvent"
]
]
]
]
"kernel.container.finish_container_initialize_subrequest" => array:1 [
255 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language_request_subscriber"
1 => "onContainerInitializeSubrequestFinished"
]
]
]
]
]
#unsorted: []
+"_serviceId": "event_dispatcher"
}
/var/www/geopietra.it/public_html/vendor/symfony/http-kernel/HttpKernel.php
/**
* Handles a request to convert it to a response.
*
* Exceptions are not caught.
*
* @param Request $request A Request instance
* @param int $type The type of the request (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
*
* @return Response A Response instance
*
* @throws \LogicException If one of the listener does not behave as expected
* @throws NotFoundHttpException When controller cannot be found
*/
private function handleRaw(Request $request, $type = self::MASTER_REQUEST)
{
$this->requestStack->push($request);
// request
$event = new GetResponseEvent($this, $request, $type);
$this->dispatcher->dispatch(KernelEvents::REQUEST, $event);
if ($event->hasResponse()) {
return $this->filterResponse($event->getResponse(), $request, $type);
}
// load controller
if (false === $controller = $this->resolver->getController($request)) {
throw new NotFoundHttpException(sprintf('Unable to find the controller for path "%s". The route is wrongly configured.', $request->getPathInfo()));
}
$event = new FilterControllerEvent($this, $controller, $request, $type);
$this->dispatcher->dispatch(KernelEvents::CONTROLLER, $event);
$controller = $event->getController();
// controller arguments
$arguments = $this->argumentResolver->getArguments($request, $controller);
$event = new FilterControllerArgumentsEvent($this, $controller, $arguments, $request, $type);
$this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS, $event);
$controller = $event->getController();
Arguments
"kernel.request"
Symfony\Component\HttpKernel\Event\GetResponseEvent {#306}
/var/www/geopietra.it/public_html/vendor/symfony/http-kernel/HttpKernel.php
$this->resolver = $resolver;
$this->requestStack = $requestStack ?: new RequestStack();
$this->argumentResolver = $argumentResolver;
if (null === $this->argumentResolver) {
@trigger_error(sprintf('As of 3.1 an %s is used to resolve arguments. In 4.0 the $argumentResolver becomes the %s if no other is provided instead of using the $resolver argument.', ArgumentResolverInterface::class, ArgumentResolver::class), E_USER_DEPRECATED);
// fallback in case of deprecations
$this->argumentResolver = $resolver;
}
}
/**
* {@inheritdoc}
*/
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
$this->finishRequest($request, $type);
throw $e;
}
return $this->handleException($e, $request, $type);
}
}
/**
* {@inheritdoc}
*/
public function terminate(Request $request, Response $response)
{
$this->dispatcher->dispatch(KernelEvents::TERMINATE, new PostResponseEvent($this, $request, $response));
Arguments
Symfony\Component\HttpFoundation\Request {#8
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#11}
+request: Symfony\Component\HttpFoundation\ParameterBag {#9}
+query: Symfony\Component\HttpFoundation\ParameterBag {#10}
+server: Symfony\Component\HttpFoundation\ServerBag {#14}
+files: Symfony\Component\HttpFoundation\FileBag {#13}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#12}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#15}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/content/privacy-policy"
#requestUri: "/content/privacy-policy"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: null
#session: Symfony\Component\HttpFoundation\Session\Session {#311}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
format: "html"
}
1
/var/www/geopietra.it/public_html/web/core/lib/Drupal/Core/StackMiddleware/Session.php
* The decorated kernel.
* @param string $service_name
* The name of the session service, defaults to "session".
*/
public function __construct(HttpKernelInterface $http_kernel, $service_name = 'session') {
$this->httpKernel = $http_kernel;
$this->sessionServiceName = $service_name;
}
/**
* {@inheritdoc}
*/
public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) {
if ($type === self::MASTER_REQUEST && PHP_SAPI !== 'cli') {
$session = $this->container->get($this->sessionServiceName);
$session->start();
$request->setSession($session);
}
$result = $this->httpKernel->handle($request, $type, $catch);
if ($type === self::MASTER_REQUEST && $request->hasSession()) {
$request->getSession()->save();
}
return $result;
}
}
Arguments
Symfony\Component\HttpFoundation\Request {#8
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#11}
+request: Symfony\Component\HttpFoundation\ParameterBag {#9}
+query: Symfony\Component\HttpFoundation\ParameterBag {#10}
+server: Symfony\Component\HttpFoundation\ServerBag {#14}
+files: Symfony\Component\HttpFoundation\FileBag {#13}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#12}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#15}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/content/privacy-policy"
#requestUri: "/content/privacy-policy"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: null
#session: Symfony\Component\HttpFoundation\Session\Session {#311}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
format: "html"
}
1
true
/var/www/geopietra.it/public_html/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php
/**
* Constructs a new KernelPreHandle instance.
*
* @param \Symfony\Component\HttpKernel\HttpKernelInterface $http_kernel
* The wrapped HTTP kernel.
* @param \Drupal\Core\DrupalKernelInterface $drupal_kernel
* The main Drupal kernel.
*/
public function __construct(HttpKernelInterface $http_kernel, DrupalKernelInterface $drupal_kernel) {
$this->httpKernel = $http_kernel;
$this->drupalKernel = $drupal_kernel;
}
/**
* {@inheritdoc}
*/
public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) {
$this->drupalKernel->preHandle($request);
return $this->httpKernel->handle($request, $type, $catch);
}
}
Arguments
Symfony\Component\HttpFoundation\Request {#8
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#11}
+request: Symfony\Component\HttpFoundation\ParameterBag {#9}
+query: Symfony\Component\HttpFoundation\ParameterBag {#10}
+server: Symfony\Component\HttpFoundation\ServerBag {#14}
+files: Symfony\Component\HttpFoundation\FileBag {#13}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#12}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#15}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/content/privacy-policy"
#requestUri: "/content/privacy-policy"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: null
#session: Symfony\Component\HttpFoundation\Session\Session {#311}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
format: "html"
}
1
true
/var/www/geopietra.it/public_html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php
/**
* Fetches a response from the backend and stores it in the cache.
*
* @see drupal_page_header()
*
* @param \Symfony\Component\HttpFoundation\Request $request
* A request object.
* @param int $type
* The type of the request (one of HttpKernelInterface::MASTER_REQUEST or
* HttpKernelInterface::SUB_REQUEST)
* @param bool $catch
* Whether to catch exceptions or not
*
* @returns \Symfony\Component\HttpFoundation\Response $response
* A response object.
*/
protected function fetch(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) {
/** @var \Symfony\Component\HttpFoundation\Response $response */
$response = $this->httpKernel->handle($request, $type, $catch);
// Only set the 'X-Drupal-Cache' header if caching is allowed for this
// response.
if ($this->storeResponse($request, $response)) {
$response->headers->set('X-Drupal-Cache', 'MISS');
}
return $response;
}
/**
* Stores a response in the page cache.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* A request object.
* @param \Symfony\Component\HttpFoundation\Response $response
* A response object that should be stored in the page cache.
*
* @returns bool
*/
Arguments
Symfony\Component\HttpFoundation\Request {#8
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#11}
+request: Symfony\Component\HttpFoundation\ParameterBag {#9}
+query: Symfony\Component\HttpFoundation\ParameterBag {#10}
+server: Symfony\Component\HttpFoundation\ServerBag {#14}
+files: Symfony\Component\HttpFoundation\FileBag {#13}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#12}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#15}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/content/privacy-policy"
#requestUri: "/content/privacy-policy"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: null
#session: Symfony\Component\HttpFoundation\Session\Session {#311}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
format: "html"
}
1
true
/var/www/geopietra.it/public_html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php
/**
* Retrieves a response from the cache or fetches it from the backend.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* A request object.
* @param int $type
* The type of the request (one of HttpKernelInterface::MASTER_REQUEST or
* HttpKernelInterface::SUB_REQUEST)
* @param bool $catch
* Whether to catch exceptions or not
*
* @returns \Symfony\Component\HttpFoundation\Response $response
* A response object.
*/
protected function lookup(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) {
if ($response = $this->get($request)) {
$response->headers->set('X-Drupal-Cache', 'HIT');
}
else {
$response = $this->fetch($request, $type, $catch);
}
// Only allow caching in the browser and prevent that the response is stored
// by an external proxy server when the following conditions apply:
// 1. There is a session cookie on the request.
// 2. The Vary: Cookie header is on the response.
// 3. The Cache-Control header does not contain the no-cache directive.
if ($request->cookies->has(session_name()) &&
in_array('Cookie', $response->getVary()) &&
!$response->headers->hasCacheControlDirective('no-cache')) {
$response->setPrivate();
}
// Perform HTTP revalidation.
// @todo Use Response::isNotModified() as
// per https://www.drupal.org/node/2259489.
$last_modified = $response->getLastModified();
if ($last_modified) {
// See if the client has provided the required HTTP headers.
Arguments
Symfony\Component\HttpFoundation\Request {#8
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#11}
+request: Symfony\Component\HttpFoundation\ParameterBag {#9}
+query: Symfony\Component\HttpFoundation\ParameterBag {#10}
+server: Symfony\Component\HttpFoundation\ServerBag {#14}
+files: Symfony\Component\HttpFoundation\FileBag {#13}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#12}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#15}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/content/privacy-policy"
#requestUri: "/content/privacy-policy"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: null
#session: Symfony\Component\HttpFoundation\Session\Session {#311}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
format: "html"
}
1
true
/var/www/geopietra.it/public_html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php
* The cache bin.
* @param \Drupal\Core\PageCache\RequestPolicyInterface $request_policy
* A policy rule determining the cacheability of a request.
* @param \Drupal\Core\PageCache\ResponsePolicyInterface $response_policy
* A policy rule determining the cacheability of the response.
*/
public function __construct(HttpKernelInterface $http_kernel, CacheBackendInterface $cache, RequestPolicyInterface $request_policy, ResponsePolicyInterface $response_policy) {
$this->httpKernel = $http_kernel;
$this->cache = $cache;
$this->requestPolicy = $request_policy;
$this->responsePolicy = $response_policy;
}
/**
* {@inheritdoc}
*/
public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) {
// Only allow page caching on master request.
if ($type === static::MASTER_REQUEST && $this->requestPolicy->check($request) === RequestPolicyInterface::ALLOW) {
$response = $this->lookup($request, $type, $catch);
}
else {
$response = $this->pass($request, $type, $catch);
}
return $response;
}
/**
* Sidesteps the page cache and directly forwards a request to the backend.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* A request object.
* @param int $type
* The type of the request (one of HttpKernelInterface::MASTER_REQUEST or
* HttpKernelInterface::SUB_REQUEST)
* @param bool $catch
* Whether to catch exceptions or not
*
* @returns \Symfony\Component\HttpFoundation\Response $response
Arguments
Symfony\Component\HttpFoundation\Request {#8
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#11}
+request: Symfony\Component\HttpFoundation\ParameterBag {#9}
+query: Symfony\Component\HttpFoundation\ParameterBag {#10}
+server: Symfony\Component\HttpFoundation\ServerBag {#14}
+files: Symfony\Component\HttpFoundation\FileBag {#13}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#12}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#15}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/content/privacy-policy"
#requestUri: "/content/privacy-policy"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: null
#session: Symfony\Component\HttpFoundation\Session\Session {#311}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
format: "html"
}
1
true
/var/www/geopietra.it/public_html/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php
/**
* Constructs a ReverseProxyMiddleware object.
*
* @param \Symfony\Component\HttpKernel\HttpKernelInterface $http_kernel
* The decorated kernel.
* @param \Drupal\Core\Site\Settings $settings
* The site settings.
*/
public function __construct(HttpKernelInterface $http_kernel, Settings $settings) {
$this->httpKernel = $http_kernel;
$this->settings = $settings;
}
/**
* {@inheritdoc}
*/
public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) {
// Initialize proxy settings.
static::setSettingsOnRequest($request, $this->settings);
return $this->httpKernel->handle($request, $type, $catch);
}
/**
* Sets reverse proxy settings on Request object.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* A Request instance.
* @param \Drupal\Core\Site\Settings $settings
* The site settings.
*/
public static function setSettingsOnRequest(Request $request, Settings $settings) {
// Initialize proxy settings.
if ($settings->get('reverse_proxy', FALSE)) {
$proxies = $settings->get('reverse_proxy_addresses', []);
if (count($proxies) > 0) {
$deprecated_settings = [
'reverse_proxy_header' => Request::HEADER_X_FORWARDED_FOR,
'reverse_proxy_proto_header' => Request::HEADER_X_FORWARDED_PROTO,
'reverse_proxy_host_header' => Request::HEADER_X_FORWARDED_HOST,
'reverse_proxy_port_header' => Request::HEADER_X_FORWARDED_PORT,
Arguments
Symfony\Component\HttpFoundation\Request {#8
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#11}
+request: Symfony\Component\HttpFoundation\ParameterBag {#9}
+query: Symfony\Component\HttpFoundation\ParameterBag {#10}
+server: Symfony\Component\HttpFoundation\ServerBag {#14}
+files: Symfony\Component\HttpFoundation\FileBag {#13}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#12}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#15}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/content/privacy-policy"
#requestUri: "/content/privacy-policy"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: null
#session: Symfony\Component\HttpFoundation\Session\Session {#311}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
format: "html"
}
1
true
/var/www/geopietra.it/public_html/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php
* The wrapper HTTP kernel
*/
public function __construct(HttpKernelInterface $app) {
$this->app = $app;
}
/**
* {@inheritdoc}
*/
public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) {
// Register available mime types.
foreach ($this->formats as $format => $mime_type) {
$request->setFormat($format, $mime_type);
}
// Determine the request format using the negotiator.
if ($requested_format = $this->getContentType($request)) {
$request->setRequestFormat($requested_format);
}
return $this->app->handle($request, $type, $catch);
}
/**
* Registers a format for a given MIME type.
*
* @param string $format
* The format.
* @param string $mime_type
* The MIME type.
*
* @return $this
*/
public function registerFormat($format, $mime_type) {
$this->formats[$format] = $mime_type;
return $this;
}
/**
* Gets the normalized type of a request.
*
Arguments
Symfony\Component\HttpFoundation\Request {#8
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#11}
+request: Symfony\Component\HttpFoundation\ParameterBag {#9}
+query: Symfony\Component\HttpFoundation\ParameterBag {#10}
+server: Symfony\Component\HttpFoundation\ServerBag {#14}
+files: Symfony\Component\HttpFoundation\FileBag {#13}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#12}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#15}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/content/privacy-policy"
#requestUri: "/content/privacy-policy"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: null
#session: Symfony\Component\HttpFoundation\Session\Session {#311}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
format: "html"
}
1
true
/var/www/geopietra.it/public_html/web/modules/contrib/whoops/src/StackMiddleware/WhoopsMiddleware.php
/**
* Constructs a new WhoopsMiddleware.
*
* @param \Symfony\Component\HttpKernel\HttpKernelInterface $app
* The wrapped HTTP kernel.
*/
public function __construct(HttpKernelInterface $app) {
$this->kernel = $app;
}
/**
* {@inheritdoc}
*/
public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) {
if ($type === self::MASTER_REQUEST) {
$this->registerWhoops();
}
return $this->kernel->handle($request, $type, $catch);
}
/**
* Registers whoops as error handler.
*
* Every php fatal error or uncaught exception is handled by the whoops
* instance registered in this class.
*/
protected function registerWhoops() {
$whoops = new Whoops();
$whoops->pushHandler(new PrettyPageHandler());
// Do not convert php non-fatal errors in exceptions in all the code base.
$whoops->silenceErrorsInPaths('/(.*)/', E_STRICT | E_DEPRECATED | E_NOTICE | E_WARNING);
$whoops->register();
// All php non-fatal errors are silenced by whoops but is desirable to
// show error messages to the developer respecting the Drupal's error_level
// configuration; To achieve this purpose the default error handler is
// restored. All php fatal errors are handled and caught by whoops in a
// shutdown function.
Arguments
Symfony\Component\HttpFoundation\Request {#8
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#11}
+request: Symfony\Component\HttpFoundation\ParameterBag {#9}
+query: Symfony\Component\HttpFoundation\ParameterBag {#10}
+server: Symfony\Component\HttpFoundation\ServerBag {#14}
+files: Symfony\Component\HttpFoundation\FileBag {#13}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#12}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#15}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/content/privacy-policy"
#requestUri: "/content/privacy-policy"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: null
#session: Symfony\Component\HttpFoundation\Session\Session {#311}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
format: "html"
}
1
true
/var/www/geopietra.it/public_html/vendor/stack/builder/src/Stack/StackedHttpKernel.php
use Symfony\Component\HttpKernel\HttpKernelInterface;
use Symfony\Component\HttpKernel\TerminableInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
class StackedHttpKernel implements HttpKernelInterface, TerminableInterface
{
private $app;
private $middlewares = array();
public function __construct(HttpKernelInterface $app, array $middlewares)
{
$this->app = $app;
$this->middlewares = $middlewares;
}
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
return $this->app->handle($request, $type, $catch);
}
public function terminate(Request $request, Response $response)
{
$prevKernel = null;
foreach ($this->middlewares as $kernel) {
// if prev kernel was terminable we can assume this middleware has already been called
if (!$prevKernel instanceof TerminableInterface && $kernel instanceof TerminableInterface) {
$kernel->terminate($request, $response);
}
$prevKernel = $kernel;
}
}
}
Arguments
Symfony\Component\HttpFoundation\Request {#8
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#11}
+request: Symfony\Component\HttpFoundation\ParameterBag {#9}
+query: Symfony\Component\HttpFoundation\ParameterBag {#10}
+server: Symfony\Component\HttpFoundation\ServerBag {#14}
+files: Symfony\Component\HttpFoundation\FileBag {#13}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#12}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#15}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/content/privacy-policy"
#requestUri: "/content/privacy-policy"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: null
#session: Symfony\Component\HttpFoundation\Session\Session {#311}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
format: "html"
}
1
true
/var/www/geopietra.it/public_html/web/core/lib/Drupal/Core/DrupalKernel.php
/**
* {@inheritdoc}
*/
public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) {
// Ensure sane PHP environment variables.
static::bootEnvironment();
try {
$this->initializeSettings($request);
// Redirect the user to the installation script if Drupal has not been
// installed yet (i.e., if no $databases array has been defined in the
// settings.php file) and we are not already installing.
if (!Database::getConnectionInfo() && !InstallerKernel::installationAttempted() && PHP_SAPI !== 'cli') {
$response = new RedirectResponse($request->getBasePath() . '/core/install.php', 302, ['Cache-Control' => 'no-cache']);
}
else {
$this->boot();
$response = $this->getHttpKernel()->handle($request, $type, $catch);
}
}
catch (\Exception $e) {
if ($catch === FALSE) {
throw $e;
}
$response = $this->handleException($e, $request, $type);
}
// Adapt response headers to the current request.
$response->prepare($request);
return $response;
}
/**
* Converts an exception into a response.
*
* @param \Exception $e
Arguments
Symfony\Component\HttpFoundation\Request {#8
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#11}
+request: Symfony\Component\HttpFoundation\ParameterBag {#9}
+query: Symfony\Component\HttpFoundation\ParameterBag {#10}
+server: Symfony\Component\HttpFoundation\ServerBag {#14}
+files: Symfony\Component\HttpFoundation\FileBag {#13}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#12}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#15}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/content/privacy-policy"
#requestUri: "/content/privacy-policy"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: null
#session: Symfony\Component\HttpFoundation\Session\Session {#311}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
format: "html"
}
1
true
/var/www/geopietra.it/public_html/web/index.php
<?php
/**
* @file
* The PHP page that serves all page requests on a Drupal installation.
*
* All Drupal code is released under the GNU General Public License.
* See COPYRIGHT.txt and LICENSE.txt files in the "core" directory.
*/
use Drupal\Core\DrupalKernel;
use Symfony\Component\HttpFoundation\Request;
$autoloader = require_once 'autoload.php';
$kernel = new DrupalKernel('prod', $autoloader);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
Arguments
Symfony\Component\HttpFoundation\Request {#8
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#11}
+request: Symfony\Component\HttpFoundation\ParameterBag {#9}
+query: Symfony\Component\HttpFoundation\ParameterBag {#10}
+server: Symfony\Component\HttpFoundation\ServerBag {#14}
+files: Symfony\Component\HttpFoundation\FileBag {#13}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#12}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#15}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/content/privacy-policy"
#requestUri: "/content/privacy-policy"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: null
#session: Symfony\Component\HttpFoundation\Session\Session {#311}
#locale: null
#defaultLocale: "en"
-isHostValid: true
-isForwardedValid: true
format: "html"
}