/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/modules/contrib/smart_date/modules/smart_date_recur/src/Plugin/QueueWorker/RecurRuleUpdate.php
$entity_manager = \Drupal::entityTypeManager($item->entity_type);
$entity_storage = $entity_manager
->getStorage($item->entity_type);
$entity = $entity_storage
->load($item->entity_id);
// If we can't find the entity, there's nothing to do.
if (empty($entity)) {
return;
}
$rules_processed = [];
foreach ($item->data as $field_name => $rules) {
$field_values = $entity->get($field_name)->getValue();
$processed = [];
// Go through identified rules to see if new instances are needed.
foreach ($rules as $rrid) {
$rule = SmartDateRule::load($rrid);
// @see makeRuleInstances() method for better understanding.
$new_instances = $rule->getNewInstances()?->toArray();
if (empty($new_instances)) {
// No instances to add, so no need to process this rule.
unset($rules[$rrid]);
continue;
}
$instances = $rule->getStoredInstances();
$template = end($instances);
foreach ($new_instances as $new_instance) {
$template['value'] = $new_instance->getStart()->getTimestamp();
$template['end_value'] = $new_instance->getEnd()->getTimestamp();
$instances[] = $template;
}
// @todo check for expired instances. Possible to keep indexes the same?
$rule->set('instances', ['data' => $instances]);
$rule->save();
$rules[$rrid] = $instances;
}
foreach ($field_values as $row) {
// Skip if this instance isn't in a rule or in one we've ruled out.
if (empty($row['rrule']) || !isset($rules[$row['rrule']])) {
Arguments
"Call to a member function toArray() on bool"
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/Cron.php
}
}
/**
* Processes a cron queue.
*
* @param \Drupal\Core\Queue\QueueInterface $queue
* The queue.
* @param \Drupal\Core\Queue\QueueWorkerInterface $worker
* The queue worker.
*
* @throws \Drupal\Core\Queue\SuspendQueueException
* If the queue was suspended.
*/
protected function processQueue(QueueInterface $queue, QueueWorkerInterface $worker) {
$lease_time = $worker->getPluginDefinition()['cron']['time'];
$end = $this->time->getCurrentTime() + $lease_time;
while ($this->time->getCurrentTime() < $end && ($item = $queue->claimItem($lease_time))) {
try {
$worker->processItem($item->data);
$queue->deleteItem($item);
}
catch (DelayedRequeueException $e) {
// The worker requested the task not be immediately re-queued.
// - If the queue doesn't support ::delayItem(), we should leave the
// item's current expiry time alone.
// - If the queue does support ::delayItem(), we should allow the
// queue to update the item's expiry using the requested delay.
if ($queue instanceof DelayableQueueInterface) {
// This queue can handle a custom delay; use the duration provided
// by the exception.
$queue->delayItem($item, $e->getDelay());
}
}
catch (RequeueException) {
// The worker requested the task be immediately requeued.
$queue->releaseItem($item);
}
catch (SuspendQueueException $e) {
// If the worker indicates the whole queue should be skipped, release
Arguments
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/Cron.php
];
}
// Work through stack of queues, re-adding to the stack when a delay is
// necessary.
while ($item = array_shift($queues)) {
[
'queue' => $queue,
'worker' => $worker,
'process_from' => $process_from,
] = $item;
// Each queue will be processed immediately when it is reached for the
// first time, as zero > currentTime will never be true.
if ($process_from > $this->time->getCurrentMicroTime()) {
$this->usleep(round($process_from - $this->time->getCurrentMicroTime(), 3) * 1000000);
}
try {
$this->processQueue($queue, $worker);
}
catch (SuspendQueueException $e) {
// Return to this queue after processing other queues if the delay is
// within the threshold.
if ($e->isDelayable() && ($e->getDelay() < $max_wait)) {
$item['process_from'] = $this->time->getCurrentMicroTime() + $e->getDelay();
// Place this queue back in the stack for processing later.
array_push($queues, $item);
}
}
// Reorder the queue by next 'process_from' timestamp.
usort($queues, function (array $queueA, array $queueB) {
return $queueA['process_from'] <=> $queueB['process_from'];
});
}
}
/**
* Processes a cron queue.
Arguments
Drupal\Core\Queue\DatabaseQueue {#4893}
Drupal\smart_date_recur\Plugin\QueueWorker\RecurRuleUpdate {#4895}
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/modules/contrib/ultimate_cron/src/UltimateCron.php
/* @var \Drupal\Core\Plugin\DefaultPluginManager $manager */
$manager = \Drupal::service('plugin.manager.ultimate_cron.' . 'launcher');
$launcher = $manager->createInstance($job->getLauncherId());
$launcher_definition = $launcher->getPluginDefinition();
if (!isset($launchers) || in_array($launcher->getPluginId(), $launchers)) {
$launcher_jobs[$launcher_definition['id']]['launcher'] = $launcher;
$launcher_jobs[$launcher_definition['id']]['sort'] = array($launcher_definition['weight']);
$launcher_jobs[$launcher_definition['id']]['jobs'][$job->id()] = $job;
$launcher_jobs[$launcher_definition['id']]['jobs'][$job->id()]->sort = array($job->loadLatestLogEntry()->start_time);
}
}
foreach ($launcher_jobs as $name => $launcher_job) {
$launcher_job['launcher']->launchJobs($launcher_job['jobs']);
}
// Run standard queue processing if our own handling is disabled.
if (!$this->configFactory->get('ultimate_cron.settings')->get('queue.enabled')) {
$this->processQueues();
}
$this->setCronLastTime();
return TRUE;
}
}
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/modules/contrib/ultimate_cron/src/ProxyClass/UltimateCron.php
* Lazy loads the real service from the container.
*
* @return object
* Returns the constructed real service.
*/
protected function lazyLoadItself()
{
if (!isset($this->service)) {
$this->service = $this->container->get($this->drupalProxyOriginalServiceId);
}
return $this->service;
}
/**
* {@inheritdoc}
*/
public function run()
{
return $this->lazyLoadItself()->run();
}
}
}
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/modules/automated_cron/src/EventSubscriber/AutomatedCron.php
* The state key-value store service.
*/
public function __construct(CronInterface $cron, ConfigFactoryInterface $config_factory, StateInterface $state) {
$this->cron = $cron;
$this->config = $config_factory->get('automated_cron.settings');
$this->state = $state;
}
/**
* Run the automated cron if enabled.
*
* @param \Symfony\Component\HttpKernel\Event\TerminateEvent $event
* The Event to process.
*/
public function onTerminate(TerminateEvent $event) {
$interval = $this->config->get('interval');
if ($interval > 0) {
$cron_next = $this->state->get('system.cron_last', 0) + $interval;
if ((int) $event->getRequest()->server->get('REQUEST_TIME') > $cron_next) {
$this->cron->run();
}
}
}
/**
* Registers the methods in this class that should be listeners.
*
* @return array
* An array of event listener definitions.
*/
public static function getSubscribedEvents(): array {
return [KernelEvents::TERMINATE => [['onTerminate', 100]]];
}
}
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/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]);
}
$stoppable = $event instanceof StoppableEventInterface;
// Invoke listeners and resolve callables if necessary.
foreach ($this->listeners[$event_name] as &$definitions) {
foreach ($definitions as &$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 ($stoppable && $event->isPropagationStopped()) {
return $event;
}
}
}
}
return $event;
}
/**
* {@inheritdoc}
*/
public function getListeners($event_name = NULL): array {
$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\TerminateEvent {#4472}
"kernel.terminate"
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher {#63
#container: Drupal\Core\DependencyInjection\Container {#22 …7}
#listeners: array:62 [
"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:16 [
0 => array:1 [
"service" => array:2 [
0 => "exception.fast_404_html"
1 => "onConfigSave"
]
]
1 => array:1 [
"service" => array:2 [
0 => "update.post_update_registry"
1 => "onConfigSave"
]
]
2 => array:1 [
"service" => array:2 [
0 => "captcha.config_subscriber"
1 => "onSave"
]
]
3 => array:1 [
"service" => array:2 [
0 => "color.config_cache_invalidator"
1 => "onChange"
]
]
4 => array:1 [
"service" => array:2 [
0 => "language.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 => "search_api_solr.config_subscriber"
1 => "onConfigSave"
]
]
9 => array:1 [
"service" => array:2 [
0 => "system.config_subscriber"
1 => "onConfigSave"
]
]
10 => array:1 [
"service" => array:2 [
0 => "system.config_cache_tag"
1 => "onSave"
]
]
11 => array:1 [
"service" => array:2 [
0 => "system.timezone_resolver"
1 => "onConfigSave"
]
]
12 => array:1 [
"service" => array:2 [
0 => "system.advisories_config_subscriber"
1 => "onConfigSave"
]
]
13 => array:1 [
"service" => array:2 [
0 => "system.menus.route_subscriber"
1 => "onConfigSave"
]
]
14 => array:1 [
"service" => array:2 [
0 => "pathauto.settings_cache_tag"
1 => "onSave"
]
]
15 => array:1 [
"service" => array:2 [
0 => "xmlsitemap.link_settings_config_subscriber"
1 => "onChange"
]
]
]
]
"config.delete" => array:4 [
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"
]
]
]
20 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "onConfigDelete"
]
]
]
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "color.config_cache_invalidator"
1 => "onChange"
]
]
1 => array:1 [
"service" => array:2 [
0 => "xmlsitemap.link_settings_config_subscriber"
1 => "onDelete"
]
]
]
]
"config.importer.missing_content" => array:1 [
-1024 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config.importer_subscriber"
1 => "onMissingContent"
]
]
]
]
"kernel.request" => array:10 [
1000 => array:2 [
0 => array:2 [
"service" => array:2 [
0 => "options_request_listener"
1 => "onRequest"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\OptionsRequestSubscriber {#25}
1 => "onRequest"
]
]
1 => array:2 [
"service" => array:2 [
0 => "redirect_leading_slashes_subscriber"
1 => "redirect"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\RedirectLeadingSlashesSubscriber {#263}
1 => "redirect"
]
]
]
300 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onKernelRequestAuthenticate"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#276}
1 => "onKernelRequestAuthenticate"
]
]
]
299 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "system.timezone_resolver"
1 => "setDefaultTimeZone"
]
"callable" => array:2 [
0 => Drupal\system\TimeZoneResolver {#277}
1 => "setDefaultTimeZone"
]
]
]
240 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "stage_file_proxy.proxy_subscriber"
1 => "checkFileOrigin"
]
"callable" => array:2 [
0 => Drupal\stage_file_proxy\EventSubscriber\StageFileProxySubscriber {#294}
1 => "checkFileOrigin"
]
]
]
50 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "ajax_response.subscriber"
1 => "onRequest"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AjaxResponseSubscriber {#293}
1 => "onRequest"
]
]
]
33 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "redirect.request_subscriber"
1 => "onKernelRequestCheckRedirect"
]
"callable" => array:2 [
0 => Drupal\redirect\EventSubscriber\RedirectRequestSubscriber {#372}
1 => "onKernelRequestCheckRedirect"
]
]
]
32 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "router_listener"
1 => "onKernelRequest"
]
"callable" => array:2 [
0 => Symfony\Component\HttpKernel\EventListener\RouterListener {#345}
1 => "onKernelRequest"
]
]
]
31 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onKernelRequestFilterProvider"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#276}
1 => "onKernelRequestFilterProvider"
]
]
]
30 => array:2 [
0 => array:2 [
"service" => array:2 [
0 => "maintenance_mode_subscriber"
1 => "onKernelRequestMaintenance"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\MaintenanceModeSubscriber {#2051}
1 => "onKernelRequestMaintenance"
]
]
1 => array:2 [
"service" => array:2 [
0 => "redirect.route_normalizer_request_subscriber"
1 => "onKernelRequestRedirect"
]
"callable" => array:2 [
0 => Drupal\redirect\EventSubscriber\RouteNormalizerRequestSubscriber {#1691}
1 => "onKernelRequestRedirect"
]
]
]
0 => array:4 [
0 => array:2 [
"service" => array:2 [
0 => "database.replica_kill_switch"
1 => "checkReplicaServer"
]
"callable" => array:2 [
0 => Drupal\Core\Database\ReplicaKillSwitch {#1683}
1 => "checkReplicaServer"
]
]
1 => array:2 [
"service" => array:2 [
0 => "router.route_preloader"
1 => "onRequest"
]
"callable" => array:2 [
0 => Drupal\Core\Routing\RoutePreloader {#1690}
1 => "onRequest"
]
]
2 => array:2 [
"service" => array:2 [
0 => "csv_serialization.csvsubscriber"
1 => "onKernelRequest"
]
"callable" => array:2 [
0 => Drupal\csv_serialization\EventSubscriber\CsvSubscriber {#1688}
1 => "onKernelRequest"
]
]
3 => array:2 [
"service" => array:2 [
0 => "webform_entity_print.request_subscriber"
1 => "requestSetViewMode"
]
"callable" => array:2 [
0 => Drupal\webform_entity_print\EventSubscriber\WebformEntityPrintRequestSubscriber {#1118}
1 => "requestSetViewMode"
]
]
]
]
"Drupal\Core\Database\Event\StatementExecutionEndEvent" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "Drupal\Core\Database\EventSubscriber\StatementExecutionSubscriber"
1 => "onStatementExecutionEnd"
]
]
]
]
"routing.route_dynamic" => array:3 [
3000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "router.route_provider.lazy_builder"
1 => "routerRebuilding"
]
]
]
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "entity_route_subscriber"
1 => "onDynamicRouteEvent"
]
]
1 => 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:4 [
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"
]
]
3 => array:1 [
"service" => array:2 [
0 => "content_moderation.config_import_subscriber"
1 => "onConfigImporterValidate"
]
]
]
]
"routing.route_alter" => array:13 [
5000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "route_http_method_subscriber"
1 => "onRouteBuilding"
]
]
]
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "token.route_subscriber"
1 => "onAlterRoutes"
]
]
]
99 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "entity_usage.route_subscriber"
1 => "onAlterRoutes"
]
]
]
0 => array:18 [
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 => "generic_listing_helper.route_subscriber"
1 => "onAlterRoutes"
]
]
3 => array:1 [
"service" => array:2 [
0 => "group.admin_path.route_subscriber"
1 => "onAlterRoutes"
]
]
4 => array:1 [
"service" => array:2 [
0 => "group.latest_revision.route_subscriber"
1 => "onAlterRoutes"
]
]
5 => array:1 [
"service" => array:2 [
0 => "group.revision.route_subscriber"
1 => "onAlterRoutes"
]
]
6 => array:1 [
"service" => array:2 [
0 => "media_library.route_subscriber"
1 => "onAlterRoutes"
]
]
7 => array:1 [
"service" => array:2 [
0 => "menu_item_extras.route_subscriber"
1 => "onAlterRoutes"
]
]
8 => array:1 [
"service" => array:2 [
0 => "node.route_subscriber"
1 => "onAlterRoutes"
]
]
9 => array:1 [
"service" => array:2 [
0 => "node.admin_path.route_subscriber"
1 => "onAlterRoutes"
]
]
10 => array:1 [
"service" => array:2 [
0 => "redirect.route_subscriber"
1 => "onAlterRoutes"
]
]
11 => array:1 [
"service" => array:2 [
0 => "search_helper.route_subscriber"
1 => "onAlterRoutes"
]
]
12 => array:1 [
"service" => array:2 [
0 => "serialization.user_route_alter_subscriber"
1 => "onRoutingAlterAddFormats"
]
]
13 => array:1 [
"service" => array:2 [
0 => "smart_date.route_subscriber"
1 => "onAlterRoutes"
]
]
14 => array:1 [
"service" => array:2 [
0 => "stage_file_proxy.image_download_controller"
1 => "onAlterDecorateController"
]
]
15 => array:1 [
"service" => array:2 [
0 => "system.menus.route_subscriber"
1 => "onAlterRoutes"
]
]
16 => array:1 [
"service" => array:2 [
0 => "system.access_route_alter_subscriber"
1 => "accessAdminMenuBlockPage"
]
]
17 => array:1 [
"service" => array:2 [
0 => "webform.route_subscriber"
1 => "onAlterRoutes"
]
]
]
-100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "field_ui.subscriber"
1 => "onAlterRoutes"
]
]
]
-110 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_builder.routes"
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 => "content_moderation.route_subscriber"
1 => "onAlterRoutes"
]
]
1 => array:1 [
"service" => array:2 [
0 => "system.admin_path.route_subscriber"
1 => "onAlterRoutes"
]
]
]
-210 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "field_group.subscriber"
1 => "onAlterRoutes"
]
]
]
-220 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "paramconverter_subscriber"
1 => "onRoutingRouteAlterSetParameterConverters"
]
]
]
-300 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "block_content.bc_subscriber"
1 => "onAlterRoutes"
]
]
]
-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:8 [
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"
]
]
]
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"
]
]
]
0 => array:6 [
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 => "geolocation.ajax_subscriber"
1 => "onResponse"
]
]
5 => array:1 [
"service" => array:2 [
0 => "views_infinite_scroll.ajax_subscriber"
1 => "onResponse"
]
]
]
-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"
]
]
]
-1000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "user.authentication.cookie"
1 => "addCheckToUrl"
]
]
]
]
"kernel.exception" => & array:17 [
200 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.fast_404_html"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\Fast404ExceptionHtmlSubscriber {#4864}
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 {#2064}
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 {#4866}
1 => "onException"
]
]
]
80 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onExceptionAccessDenied"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#276}
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 {#874}
1 => "onException"
]
]
1 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onExceptionSendChallenge"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#276}
1 => "onExceptionSendChallenge"
]
]
2 => array:2 [
"service" => array:2 [
0 => "user_access_denied_subscriber"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\user\EventSubscriber\AccessDeniedSubscriber {#4756}
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 {#2107}
1 => "onException"
]
]
]
50 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.logger"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\ExceptionLoggingSubscriber {#4862}
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 {#2051}
1 => "onKernelRequestMaintenance"
]
]
1 => array:2 [
"service" => array:2 [
0 => "entity_print.print_engine_exception_subscriber"
1 => "handleException"
]
"callable" => array:2 [
0 => Drupal\entity_print\EventSubscriber\PrintEngineExceptionSubscriber {#4859}
1 => "handleException"
]
]
2 => array:2 [
"service" => array:2 [
0 => "node.node_translation_exception"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\node\EventSubscriber\NodeTranslationExceptionSubscriber {#4860}
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\WebformDefaultExceptionHtmlSubscriber {#4782}
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 {#4861}
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 {#345}
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 {#4856}
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 {#4757}
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 {#4758}
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 {#4754}
1 => "onException"
]
]
]
-250 => & array:2 [
0 => array:2 [
"service" => array:2 [
0 => "exception.final"
1 => "on4xx"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\FinalExceptionSubscriber {#4822}
1 => "on4xx"
]
]
1 => & array:2 [
"service" => array:2 [
0 => "whoops.exception_subscriber"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\whoops\EventSubscriber\DefaultExceptionSubscriber {#4823}
1 => "onException"
]
]
]
-256 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "exception.final"
1 => "onException"
]
]
]
]
"kernel.view" => array:3 [
1 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "form_ajax_subscriber"
1 => "onView"
]
"callable" => array:2 [
0 => Drupal\Core\Form\EventSubscriber\FormAjaxSubscriber {#2107}
1 => "onView"
]
]
]
0 => array:2 [
0 => array:2 [
"service" => array:2 [
0 => "psr_response_view_subscriber"
1 => "onKernelView"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\PsrResponseSubscriber {#2082}
1 => "onKernelView"
]
]
1 => array:2 [
"service" => array:2 [
0 => "main_content_view_subscriber"
1 => "onViewRenderArray"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\MainContentViewSubscriber {#2108}
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"
]
]
]
]
"site.maintenance_mode_request" => array:2 [
-900 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "user_maintenance_mode_subscriber"
1 => "onMaintenanceModeRequest"
]
]
]
-1000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "maintenance_mode_subscriber"
1 => "onMaintenanceModeRequest"
]
]
]
]
"kernel.terminate" => array:3 [
300 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "user_last_access_subscriber"
1 => "onKernelTerminate"
]
"callable" => array:2 [
0 => Drupal\user\EventSubscriber\UserRequestSubscriber {#4440}
1 => "onKernelTerminate"
]
]
]
200 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "path_alias.subscriber"
1 => "onKernelTerminate"
]
"callable" => array:2 [
0 => Drupal\path_alias\EventSubscriber\PathAliasSubscriber {#2060}
1 => "onKernelTerminate"
]
]
]
100 => array:3 [
0 => array:2 [
"service" => array:2 [
0 => "request_close_subscriber"
1 => "onTerminate"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\RequestCloseSubscriber {#4468}
1 => "onTerminate"
]
]
1 => array:2 [
"service" => array:2 [
0 => "kernel_destruct_subscriber"
1 => "onKernelTerminate"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\KernelDestructionSubscriber {#4443}
1 => "onKernelTerminate"
]
]
2 => array:2 [
"service" => array:2 [
0 => "automated_cron.subscriber"
1 => "onTerminate"
]
"callable" => array:2 [
0 => Drupal\automated_cron\EventSubscriber\AutomatedCron {#4447}
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 => "group.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:2 [
500 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config_exclude_modules_subscriber"
1 => "onConfigTransformExport"
]
]
]
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "menu_item_extras.config_subscriber"
1 => "onConfigExport"
]
]
]
]
"kernel.controller" => array:2 [
200 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "path_alias.subscriber"
1 => "onKernelController"
]
"callable" => array:2 [
0 => Drupal\path_alias\EventSubscriber\PathAliasSubscriber {#2060}
1 => "onKernelController"
]
]
]
0 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "early_rendering_controller_wrapper_subscriber"
1 => "onController"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber {#2061}
1 => "onController"
]
]
]
]
"render.page_display_variant.select" => array:1 [
0 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "block.page_display_variant_subscriber"
1 => "onSelectPageDisplayVariant"
]
"callable" => array:2 [
0 => Drupal\block\EventSubscriber\BlockPageDisplayVariantSubscriber {#2112}
1 => "onSelectPageDisplayVariant"
]
]
]
]
"Drupal\workspaces\Event\WorkspacePrePublishEvent" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "content_moderation.workspace_subscriber"
1 => "onWorkspacePrePublish"
]
]
]
]
"entity.duplicate" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "entity.entity_duplicate_subscriber"
1 => "onEntityDuplicate"
]
]
]
]
"entity_print.print.html_alter" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "entity_print.post_render_subscriber"
1 => "postRender"
]
]
]
]
"feeds.fetch" => array:1 [
-10000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.pubsubhubbub"
1 => "onPostFetch"
]
]
]
]
"feeds.delete_multiple" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.pubsubhubbub"
1 => "onDeleteMultipleFeeds"
]
]
]
]
"feeds.init_import" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.import_subscriber"
1 => "onInitImport"
]
]
]
]
"feeds.init_clear" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.import_subscriber"
1 => "onInitClear"
]
]
]
]
"feeds.init_expire" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.import_subscriber"
1 => "onInitExpire"
]
]
]
]
"feeds.parse" => array:1 [
-10000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds_tamper.feeds_subscriber"
1 => "afterParse"
]
]
]
]
"Drupal\Core\File\Event\FileUploadSanitizeNameEvent" => array:2 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "file.event.subscriber"
1 => "sanitizeFilename"
]
]
]
-9223372036854775808 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "system.file_event.subscriber"
1 => "sanitizeName"
]
]
]
]
"google_analytics_add_event" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "google_analytics.events.messages"
1 => "onAddEvent"
]
]
1 => array:1 [
"service" => array:2 [
0 => "google_analytics.config.custom_config"
1 => "onAddEvent"
]
]
]
]
"google_analytics_page_path" => array:2 [
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "google_analytics.pagepath.invalid_user_login"
1 => "onPagePath"
]
]
]
0 => array:3 [
0 => array:1 [
"service" => array:2 [
0 => "google_analytics.pagepath.content_translation"
1 => "onPagePath"
]
]
1 => array:1 [
"service" => array:2 [
0 => "google_analytics.pagepath.http_status"
1 => "onPagePath"
]
]
2 => array:1 [
"service" => array:2 [
0 => "google_analytics.pagepath.search"
1 => "onCustomPagePath"
]
]
]
]
"google_analytics_add_config" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "google_analytics.config.default_config"
1 => "onAddConfig"
]
]
1 => array:1 [
"service" => array:2 [
0 => "google_analytics.config.custom_config"
1 => "onAddConfig"
]
]
]
]
"config.collection_info" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "addCollections"
]
]
]
]
"config.rename" => array:2 [
20 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "onConfigRename"
]
]
]
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "xmlsitemap.link_settings_config_subscriber"
1 => "onRename"
]
]
]
]
"section_component.build.render_array" => array:1 [
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_builder.render_block_component_subscriber"
1 => "onBuildRender"
]
]
]
]
"prepare_layout" => array:2 [
20 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_library.element.prepare_layout"
1 => "onPrepareLayout"
]
]
]
10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_builder.element.prepare_layout"
1 => "onPrepareLayout"
]
]
]
]
"layout_paragraphs_allowed_types" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_paragraphs_allowed_types_subscriber"
1 => "typeRestrictions"
]
]
]
]
"layout_paragraphs_update_layout" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_paragraphs_update_layout_subscriber"
1 => "layoutUpdated"
]
]
]
]
"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.entity_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.entity_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"
]
]
]
]
"search_api.mapping_views_field_handlers" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api_solr.search_api_subscriber"
1 => "onMappingViewsFieldHandlers"
]
]
]
]
"account.set" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "system.timezone_resolver"
1 => "setDefaultTimeZone"
]
]
]
]
"user.flood_blocked_user" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "user.flood_subscriber"
1 => "blockedUser"
]
]
]
]
"user.flood_blocked_ip" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "user.flood_subscriber"
1 => "blockedIp"
]
]
]
]
"entity_print.print.css_alter" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "webform_entity_print.print_css_alter_subscriber"
1 => "alterCss"
]
]
]
]
"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"
]
]
]
]
"block_content.get_dependency" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_builder.get_block_dependency_subscriber"
1 => "onGetDependency"
]
]
]
]
]
#unsorted: []
}
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/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]);
}
$stoppable = $event instanceof StoppableEventInterface;
// Invoke listeners and resolve callables if necessary.
foreach ($this->listeners[$event_name] as &$definitions) {
foreach ($definitions as &$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 ($stoppable && $event->isPropagationStopped()) {
return $event;
}
}
}
}
return $event;
}
/**
* {@inheritdoc}
*/
public function getListeners($event_name = NULL): array {
$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\automated_cron\EventSubscriber\AutomatedCron {#4447}
1 => "onTerminate"
]
Symfony\Component\HttpKernel\Event\TerminateEvent {#4472}
"kernel.terminate"
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher {#63
#container: Drupal\Core\DependencyInjection\Container {#22 …7}
#listeners: array:62 [
"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:16 [
0 => array:1 [
"service" => array:2 [
0 => "exception.fast_404_html"
1 => "onConfigSave"
]
]
1 => array:1 [
"service" => array:2 [
0 => "update.post_update_registry"
1 => "onConfigSave"
]
]
2 => array:1 [
"service" => array:2 [
0 => "captcha.config_subscriber"
1 => "onSave"
]
]
3 => array:1 [
"service" => array:2 [
0 => "color.config_cache_invalidator"
1 => "onChange"
]
]
4 => array:1 [
"service" => array:2 [
0 => "language.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 => "search_api_solr.config_subscriber"
1 => "onConfigSave"
]
]
9 => array:1 [
"service" => array:2 [
0 => "system.config_subscriber"
1 => "onConfigSave"
]
]
10 => array:1 [
"service" => array:2 [
0 => "system.config_cache_tag"
1 => "onSave"
]
]
11 => array:1 [
"service" => array:2 [
0 => "system.timezone_resolver"
1 => "onConfigSave"
]
]
12 => array:1 [
"service" => array:2 [
0 => "system.advisories_config_subscriber"
1 => "onConfigSave"
]
]
13 => array:1 [
"service" => array:2 [
0 => "system.menus.route_subscriber"
1 => "onConfigSave"
]
]
14 => array:1 [
"service" => array:2 [
0 => "pathauto.settings_cache_tag"
1 => "onSave"
]
]
15 => array:1 [
"service" => array:2 [
0 => "xmlsitemap.link_settings_config_subscriber"
1 => "onChange"
]
]
]
]
"config.delete" => array:4 [
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"
]
]
]
20 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "onConfigDelete"
]
]
]
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "color.config_cache_invalidator"
1 => "onChange"
]
]
1 => array:1 [
"service" => array:2 [
0 => "xmlsitemap.link_settings_config_subscriber"
1 => "onDelete"
]
]
]
]
"config.importer.missing_content" => array:1 [
-1024 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config.importer_subscriber"
1 => "onMissingContent"
]
]
]
]
"kernel.request" => array:10 [
1000 => array:2 [
0 => array:2 [
"service" => array:2 [
0 => "options_request_listener"
1 => "onRequest"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\OptionsRequestSubscriber {#25}
1 => "onRequest"
]
]
1 => array:2 [
"service" => array:2 [
0 => "redirect_leading_slashes_subscriber"
1 => "redirect"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\RedirectLeadingSlashesSubscriber {#263}
1 => "redirect"
]
]
]
300 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onKernelRequestAuthenticate"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#276}
1 => "onKernelRequestAuthenticate"
]
]
]
299 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "system.timezone_resolver"
1 => "setDefaultTimeZone"
]
"callable" => array:2 [
0 => Drupal\system\TimeZoneResolver {#277}
1 => "setDefaultTimeZone"
]
]
]
240 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "stage_file_proxy.proxy_subscriber"
1 => "checkFileOrigin"
]
"callable" => array:2 [
0 => Drupal\stage_file_proxy\EventSubscriber\StageFileProxySubscriber {#294}
1 => "checkFileOrigin"
]
]
]
50 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "ajax_response.subscriber"
1 => "onRequest"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AjaxResponseSubscriber {#293}
1 => "onRequest"
]
]
]
33 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "redirect.request_subscriber"
1 => "onKernelRequestCheckRedirect"
]
"callable" => array:2 [
0 => Drupal\redirect\EventSubscriber\RedirectRequestSubscriber {#372}
1 => "onKernelRequestCheckRedirect"
]
]
]
32 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "router_listener"
1 => "onKernelRequest"
]
"callable" => array:2 [
0 => Symfony\Component\HttpKernel\EventListener\RouterListener {#345}
1 => "onKernelRequest"
]
]
]
31 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onKernelRequestFilterProvider"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#276}
1 => "onKernelRequestFilterProvider"
]
]
]
30 => array:2 [
0 => array:2 [
"service" => array:2 [
0 => "maintenance_mode_subscriber"
1 => "onKernelRequestMaintenance"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\MaintenanceModeSubscriber {#2051}
1 => "onKernelRequestMaintenance"
]
]
1 => array:2 [
"service" => array:2 [
0 => "redirect.route_normalizer_request_subscriber"
1 => "onKernelRequestRedirect"
]
"callable" => array:2 [
0 => Drupal\redirect\EventSubscriber\RouteNormalizerRequestSubscriber {#1691}
1 => "onKernelRequestRedirect"
]
]
]
0 => array:4 [
0 => array:2 [
"service" => array:2 [
0 => "database.replica_kill_switch"
1 => "checkReplicaServer"
]
"callable" => array:2 [
0 => Drupal\Core\Database\ReplicaKillSwitch {#1683}
1 => "checkReplicaServer"
]
]
1 => array:2 [
"service" => array:2 [
0 => "router.route_preloader"
1 => "onRequest"
]
"callable" => array:2 [
0 => Drupal\Core\Routing\RoutePreloader {#1690}
1 => "onRequest"
]
]
2 => array:2 [
"service" => array:2 [
0 => "csv_serialization.csvsubscriber"
1 => "onKernelRequest"
]
"callable" => array:2 [
0 => Drupal\csv_serialization\EventSubscriber\CsvSubscriber {#1688}
1 => "onKernelRequest"
]
]
3 => array:2 [
"service" => array:2 [
0 => "webform_entity_print.request_subscriber"
1 => "requestSetViewMode"
]
"callable" => array:2 [
0 => Drupal\webform_entity_print\EventSubscriber\WebformEntityPrintRequestSubscriber {#1118}
1 => "requestSetViewMode"
]
]
]
]
"Drupal\Core\Database\Event\StatementExecutionEndEvent" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "Drupal\Core\Database\EventSubscriber\StatementExecutionSubscriber"
1 => "onStatementExecutionEnd"
]
]
]
]
"routing.route_dynamic" => array:3 [
3000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "router.route_provider.lazy_builder"
1 => "routerRebuilding"
]
]
]
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "entity_route_subscriber"
1 => "onDynamicRouteEvent"
]
]
1 => 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:4 [
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"
]
]
3 => array:1 [
"service" => array:2 [
0 => "content_moderation.config_import_subscriber"
1 => "onConfigImporterValidate"
]
]
]
]
"routing.route_alter" => array:13 [
5000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "route_http_method_subscriber"
1 => "onRouteBuilding"
]
]
]
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "token.route_subscriber"
1 => "onAlterRoutes"
]
]
]
99 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "entity_usage.route_subscriber"
1 => "onAlterRoutes"
]
]
]
0 => array:18 [
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 => "generic_listing_helper.route_subscriber"
1 => "onAlterRoutes"
]
]
3 => array:1 [
"service" => array:2 [
0 => "group.admin_path.route_subscriber"
1 => "onAlterRoutes"
]
]
4 => array:1 [
"service" => array:2 [
0 => "group.latest_revision.route_subscriber"
1 => "onAlterRoutes"
]
]
5 => array:1 [
"service" => array:2 [
0 => "group.revision.route_subscriber"
1 => "onAlterRoutes"
]
]
6 => array:1 [
"service" => array:2 [
0 => "media_library.route_subscriber"
1 => "onAlterRoutes"
]
]
7 => array:1 [
"service" => array:2 [
0 => "menu_item_extras.route_subscriber"
1 => "onAlterRoutes"
]
]
8 => array:1 [
"service" => array:2 [
0 => "node.route_subscriber"
1 => "onAlterRoutes"
]
]
9 => array:1 [
"service" => array:2 [
0 => "node.admin_path.route_subscriber"
1 => "onAlterRoutes"
]
]
10 => array:1 [
"service" => array:2 [
0 => "redirect.route_subscriber"
1 => "onAlterRoutes"
]
]
11 => array:1 [
"service" => array:2 [
0 => "search_helper.route_subscriber"
1 => "onAlterRoutes"
]
]
12 => array:1 [
"service" => array:2 [
0 => "serialization.user_route_alter_subscriber"
1 => "onRoutingAlterAddFormats"
]
]
13 => array:1 [
"service" => array:2 [
0 => "smart_date.route_subscriber"
1 => "onAlterRoutes"
]
]
14 => array:1 [
"service" => array:2 [
0 => "stage_file_proxy.image_download_controller"
1 => "onAlterDecorateController"
]
]
15 => array:1 [
"service" => array:2 [
0 => "system.menus.route_subscriber"
1 => "onAlterRoutes"
]
]
16 => array:1 [
"service" => array:2 [
0 => "system.access_route_alter_subscriber"
1 => "accessAdminMenuBlockPage"
]
]
17 => array:1 [
"service" => array:2 [
0 => "webform.route_subscriber"
1 => "onAlterRoutes"
]
]
]
-100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "field_ui.subscriber"
1 => "onAlterRoutes"
]
]
]
-110 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_builder.routes"
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 => "content_moderation.route_subscriber"
1 => "onAlterRoutes"
]
]
1 => array:1 [
"service" => array:2 [
0 => "system.admin_path.route_subscriber"
1 => "onAlterRoutes"
]
]
]
-210 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "field_group.subscriber"
1 => "onAlterRoutes"
]
]
]
-220 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "paramconverter_subscriber"
1 => "onRoutingRouteAlterSetParameterConverters"
]
]
]
-300 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "block_content.bc_subscriber"
1 => "onAlterRoutes"
]
]
]
-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:8 [
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"
]
]
]
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"
]
]
]
0 => array:6 [
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 => "geolocation.ajax_subscriber"
1 => "onResponse"
]
]
5 => array:1 [
"service" => array:2 [
0 => "views_infinite_scroll.ajax_subscriber"
1 => "onResponse"
]
]
]
-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"
]
]
]
-1000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "user.authentication.cookie"
1 => "addCheckToUrl"
]
]
]
]
"kernel.exception" => & array:17 [
200 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.fast_404_html"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\Fast404ExceptionHtmlSubscriber {#4864}
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 {#2064}
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 {#4866}
1 => "onException"
]
]
]
80 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onExceptionAccessDenied"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#276}
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 {#874}
1 => "onException"
]
]
1 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onExceptionSendChallenge"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#276}
1 => "onExceptionSendChallenge"
]
]
2 => array:2 [
"service" => array:2 [
0 => "user_access_denied_subscriber"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\user\EventSubscriber\AccessDeniedSubscriber {#4756}
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 {#2107}
1 => "onException"
]
]
]
50 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.logger"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\ExceptionLoggingSubscriber {#4862}
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 {#2051}
1 => "onKernelRequestMaintenance"
]
]
1 => array:2 [
"service" => array:2 [
0 => "entity_print.print_engine_exception_subscriber"
1 => "handleException"
]
"callable" => array:2 [
0 => Drupal\entity_print\EventSubscriber\PrintEngineExceptionSubscriber {#4859}
1 => "handleException"
]
]
2 => array:2 [
"service" => array:2 [
0 => "node.node_translation_exception"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\node\EventSubscriber\NodeTranslationExceptionSubscriber {#4860}
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\WebformDefaultExceptionHtmlSubscriber {#4782}
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 {#4861}
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 {#345}
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 {#4856}
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 {#4757}
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 {#4758}
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 {#4754}
1 => "onException"
]
]
]
-250 => & array:2 [
0 => array:2 [
"service" => array:2 [
0 => "exception.final"
1 => "on4xx"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\FinalExceptionSubscriber {#4822}
1 => "on4xx"
]
]
1 => & array:2 [
"service" => array:2 [
0 => "whoops.exception_subscriber"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\whoops\EventSubscriber\DefaultExceptionSubscriber {#4823}
1 => "onException"
]
]
]
-256 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "exception.final"
1 => "onException"
]
]
]
]
"kernel.view" => array:3 [
1 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "form_ajax_subscriber"
1 => "onView"
]
"callable" => array:2 [
0 => Drupal\Core\Form\EventSubscriber\FormAjaxSubscriber {#2107}
1 => "onView"
]
]
]
0 => array:2 [
0 => array:2 [
"service" => array:2 [
0 => "psr_response_view_subscriber"
1 => "onKernelView"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\PsrResponseSubscriber {#2082}
1 => "onKernelView"
]
]
1 => array:2 [
"service" => array:2 [
0 => "main_content_view_subscriber"
1 => "onViewRenderArray"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\MainContentViewSubscriber {#2108}
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"
]
]
]
]
"site.maintenance_mode_request" => array:2 [
-900 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "user_maintenance_mode_subscriber"
1 => "onMaintenanceModeRequest"
]
]
]
-1000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "maintenance_mode_subscriber"
1 => "onMaintenanceModeRequest"
]
]
]
]
"kernel.terminate" => array:3 [
300 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "user_last_access_subscriber"
1 => "onKernelTerminate"
]
"callable" => array:2 [
0 => Drupal\user\EventSubscriber\UserRequestSubscriber {#4440}
1 => "onKernelTerminate"
]
]
]
200 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "path_alias.subscriber"
1 => "onKernelTerminate"
]
"callable" => array:2 [
0 => Drupal\path_alias\EventSubscriber\PathAliasSubscriber {#2060}
1 => "onKernelTerminate"
]
]
]
100 => array:3 [
0 => array:2 [
"service" => array:2 [
0 => "request_close_subscriber"
1 => "onTerminate"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\RequestCloseSubscriber {#4468}
1 => "onTerminate"
]
]
1 => array:2 [
"service" => array:2 [
0 => "kernel_destruct_subscriber"
1 => "onKernelTerminate"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\KernelDestructionSubscriber {#4443}
1 => "onKernelTerminate"
]
]
2 => array:2 [
"service" => array:2 [
0 => "automated_cron.subscriber"
1 => "onTerminate"
]
"callable" => array:2 [
0 => Drupal\automated_cron\EventSubscriber\AutomatedCron {#4447}
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 => "group.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:2 [
500 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config_exclude_modules_subscriber"
1 => "onConfigTransformExport"
]
]
]
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "menu_item_extras.config_subscriber"
1 => "onConfigExport"
]
]
]
]
"kernel.controller" => array:2 [
200 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "path_alias.subscriber"
1 => "onKernelController"
]
"callable" => array:2 [
0 => Drupal\path_alias\EventSubscriber\PathAliasSubscriber {#2060}
1 => "onKernelController"
]
]
]
0 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "early_rendering_controller_wrapper_subscriber"
1 => "onController"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber {#2061}
1 => "onController"
]
]
]
]
"render.page_display_variant.select" => array:1 [
0 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "block.page_display_variant_subscriber"
1 => "onSelectPageDisplayVariant"
]
"callable" => array:2 [
0 => Drupal\block\EventSubscriber\BlockPageDisplayVariantSubscriber {#2112}
1 => "onSelectPageDisplayVariant"
]
]
]
]
"Drupal\workspaces\Event\WorkspacePrePublishEvent" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "content_moderation.workspace_subscriber"
1 => "onWorkspacePrePublish"
]
]
]
]
"entity.duplicate" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "entity.entity_duplicate_subscriber"
1 => "onEntityDuplicate"
]
]
]
]
"entity_print.print.html_alter" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "entity_print.post_render_subscriber"
1 => "postRender"
]
]
]
]
"feeds.fetch" => array:1 [
-10000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.pubsubhubbub"
1 => "onPostFetch"
]
]
]
]
"feeds.delete_multiple" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.pubsubhubbub"
1 => "onDeleteMultipleFeeds"
]
]
]
]
"feeds.init_import" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.import_subscriber"
1 => "onInitImport"
]
]
]
]
"feeds.init_clear" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.import_subscriber"
1 => "onInitClear"
]
]
]
]
"feeds.init_expire" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.import_subscriber"
1 => "onInitExpire"
]
]
]
]
"feeds.parse" => array:1 [
-10000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds_tamper.feeds_subscriber"
1 => "afterParse"
]
]
]
]
"Drupal\Core\File\Event\FileUploadSanitizeNameEvent" => array:2 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "file.event.subscriber"
1 => "sanitizeFilename"
]
]
]
-9223372036854775808 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "system.file_event.subscriber"
1 => "sanitizeName"
]
]
]
]
"google_analytics_add_event" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "google_analytics.events.messages"
1 => "onAddEvent"
]
]
1 => array:1 [
"service" => array:2 [
0 => "google_analytics.config.custom_config"
1 => "onAddEvent"
]
]
]
]
"google_analytics_page_path" => array:2 [
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "google_analytics.pagepath.invalid_user_login"
1 => "onPagePath"
]
]
]
0 => array:3 [
0 => array:1 [
"service" => array:2 [
0 => "google_analytics.pagepath.content_translation"
1 => "onPagePath"
]
]
1 => array:1 [
"service" => array:2 [
0 => "google_analytics.pagepath.http_status"
1 => "onPagePath"
]
]
2 => array:1 [
"service" => array:2 [
0 => "google_analytics.pagepath.search"
1 => "onCustomPagePath"
]
]
]
]
"google_analytics_add_config" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "google_analytics.config.default_config"
1 => "onAddConfig"
]
]
1 => array:1 [
"service" => array:2 [
0 => "google_analytics.config.custom_config"
1 => "onAddConfig"
]
]
]
]
"config.collection_info" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "addCollections"
]
]
]
]
"config.rename" => array:2 [
20 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "onConfigRename"
]
]
]
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "xmlsitemap.link_settings_config_subscriber"
1 => "onRename"
]
]
]
]
"section_component.build.render_array" => array:1 [
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_builder.render_block_component_subscriber"
1 => "onBuildRender"
]
]
]
]
"prepare_layout" => array:2 [
20 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_library.element.prepare_layout"
1 => "onPrepareLayout"
]
]
]
10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_builder.element.prepare_layout"
1 => "onPrepareLayout"
]
]
]
]
"layout_paragraphs_allowed_types" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_paragraphs_allowed_types_subscriber"
1 => "typeRestrictions"
]
]
]
]
"layout_paragraphs_update_layout" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_paragraphs_update_layout_subscriber"
1 => "layoutUpdated"
]
]
]
]
"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.entity_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.entity_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"
]
]
]
]
"search_api.mapping_views_field_handlers" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api_solr.search_api_subscriber"
1 => "onMappingViewsFieldHandlers"
]
]
]
]
"account.set" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "system.timezone_resolver"
1 => "setDefaultTimeZone"
]
]
]
]
"user.flood_blocked_user" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "user.flood_subscriber"
1 => "blockedUser"
]
]
]
]
"user.flood_blocked_ip" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "user.flood_subscriber"
1 => "blockedIp"
]
]
]
]
"entity_print.print.css_alter" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "webform_entity_print.print_css_alter_subscriber"
1 => "alterCss"
]
]
]
]
"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"
]
]
]
]
"block_content.get_dependency" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_builder.get_block_dependency_subscriber"
1 => "onGetDependency"
]
]
]
]
]
#unsorted: []
}
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/vendor/symfony/http-kernel/HttpKernel.php
$requestStack = $this->requestStack;
$response->setCallback(static function () use ($request, $callback, $requestStack) {
$requestStack->push($request);
try {
$callback();
} finally {
$requestStack->pop();
}
});
}
}
}
/**
* @return void
*/
public function terminate(Request $request, Response $response)
{
$this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE);
}
/**
* @internal
*/
public function terminateWithException(\Throwable $exception, Request $request = null): void
{
if (!$request ??= $this->requestStack->getMainRequest()) {
throw $exception;
}
if ($pop = $request !== $this->requestStack->getMainRequest()) {
$this->requestStack->push($request);
}
try {
$response = $this->handleThrowable($exception, $request, self::MAIN_REQUEST);
} finally {
if ($pop) {
$this->requestStack->pop();
Arguments
Symfony\Component\HttpKernel\Event\TerminateEvent {#4472}
"kernel.terminate"
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php
$this->middlewares = $middlewares;
}
/**
* {@inheritdoc}
*/
public function handle(Request $request, $type = HttpKernelInterface::MAIN_REQUEST, $catch = TRUE): Response {
return $this->kernel->handle($request, $type, $catch);
}
/**
* {@inheritdoc}
*/
public function terminate(Request $request, Response $response) {
$previous = NULL;
foreach ($this->middlewares as $kernel) {
// If the previous kernel was terminable we can assume this middleware
// has already been called.
if (!$previous instanceof TerminableInterface && $kernel instanceof TerminableInterface) {
$kernel->terminate($request, $response);
}
$previous = $kernel;
}
}
}
Arguments
Symfony\Component\HttpFoundation\Request {#4
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#7}
+request: Symfony\Component\HttpFoundation\InputBag {#5}
+query: Symfony\Component\HttpFoundation\InputBag {#6}
+server: Symfony\Component\HttpFoundation\ServerBag {#10}
+files: Symfony\Component\HttpFoundation\FileBag {#9}
+cookies: Symfony\Component\HttpFoundation\InputBag {#8}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#11}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/dlr-events/attractions/when-calendar-meetings-published"
#requestUri: "/dlr-events/attractions/when-calendar-meetings-published"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: "html"
#session: Symfony\Component\HttpFoundation\Session\Session {#264}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: ? bool
-trustedValuesCache: []
-isIisRewrite: false
}
Symfony\Component\HttpFoundation\RedirectResponse {#4469}
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/DrupalKernel.php
*/
public function getServiceProviders($origin) {
return $this->serviceProviders[$origin];
}
/**
* {@inheritdoc}
*
* phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
* @return void
*/
public function terminate(Request $request, Response $response) {
// Only run terminate() when essential services have been set up properly
// by preHandle() before.
if (FALSE === $this->prepared) {
return;
}
if ($this->getHttpKernel() instanceof TerminableInterface) {
$this->getHttpKernel()->terminate($request, $response);
}
}
/**
* {@inheritdoc}
*/
public function handle(Request $request, $type = self::MAIN_REQUEST, $catch = TRUE): Response {
// Ensure sane PHP environment variables.
static::bootEnvironment();
try {
if (!$this->booted) {
$this->initializeSettings($request);
$this->boot();
}
$response = $this->getHttpKernel()->handle($request, $type, $catch);
}
catch (\Exception $e) {
if ($catch === FALSE) {
throw $e;
Arguments
Symfony\Component\HttpFoundation\Request {#4
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#7}
+request: Symfony\Component\HttpFoundation\InputBag {#5}
+query: Symfony\Component\HttpFoundation\InputBag {#6}
+server: Symfony\Component\HttpFoundation\ServerBag {#10}
+files: Symfony\Component\HttpFoundation\FileBag {#9}
+cookies: Symfony\Component\HttpFoundation\InputBag {#8}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#11}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/dlr-events/attractions/when-calendar-meetings-published"
#requestUri: "/dlr-events/attractions/when-calendar-meetings-published"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: "html"
#session: Symfony\Component\HttpFoundation\Session\Session {#264}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: ? bool
-trustedValuesCache: []
-isIisRewrite: false
}
Symfony\Component\HttpFoundation\RedirectResponse {#4469}
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/modules/custom/dlr_custom/dlr_custom.module
$url = Url::fromRoute('entity.node.canonical', ['node' => 65634]);
_custom_redirect($url->toString());
}
}
}
/**
* Helper function to redirect FAQ and Place content type.
*
* @param $path
*
*/
function _custom_redirect($path){
$response = new RedirectResponse($path);
$request = \Drupal::request();
// Save the session so things like messages get saved.
$request->getSession()->save();
$response->prepare($request);
// Make sure to trigger kernel events.
\Drupal::service('kernel')->terminate($request, $response);
$response->send();
}
/**
* Implements hook_form_alter().
*/
function dlr_custom_form_alter(&$form, FormStateInterface $form_state, $form_id) {
$build_info = $form_state->getBuildInfo();
if (!empty($build_info['base_form_id'])) {
if ($build_info['base_form_id'] == 'node_form') {
// Fixing not focusable fields in tabs.
$form['#attributes']['novalidate'] = 'novalidate';
if (isset($form['revision'])) {
$form['revision']['#required'] = TRUE;
if ($form['revision']['#default_value'] === FALSE) {
$form['revision']['#default_value'] = TRUE;
$form['revision']['#attributes']['checked'] = 'checked';
}
else {
Arguments
Symfony\Component\HttpFoundation\Request {#4
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#7}
+request: Symfony\Component\HttpFoundation\InputBag {#5}
+query: Symfony\Component\HttpFoundation\InputBag {#6}
+server: Symfony\Component\HttpFoundation\ServerBag {#10}
+files: Symfony\Component\HttpFoundation\FileBag {#9}
+cookies: Symfony\Component\HttpFoundation\InputBag {#8}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#11}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/dlr-events/attractions/when-calendar-meetings-published"
#requestUri: "/dlr-events/attractions/when-calendar-meetings-published"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: "html"
#session: Symfony\Component\HttpFoundation\Session\Session {#264}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: ? bool
-trustedValuesCache: []
-isIisRewrite: false
}
Symfony\Component\HttpFoundation\RedirectResponse {#4469}
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/modules/custom/dlr_custom/dlr_custom.module
}
/**
* Implements hook_ENTITY_TYPE_view().
*/
function dlr_custom_node_view(array &$build, EntityInterface $entity, EntityViewDisplayInterface $display, $view_mode) {
if ($display->getComponent('extra_title')) {
$alias = \Drupal::service('path_alias.manager')
->getAliasByPath('/node/' . $entity->id());
$value = '<div><a href=' . $alias . '><h2><span>' . $entity->label() . '</span></h2></a></div>';
$build['extra_title'] = [
'#type' => 'markup',
'#markup' => $value,
];
}
// FAQ redirect.
if ($entity->bundle() == 'faq') {
_custom_redirect("/faq");
}
if ($entity->bundle() == 'place') {
$place_type = $entity->get('field_place_type')->getValue();
switch ($place_type[0]['target_id']) {
// Market -> Market
case 3501:
$url = Url::fromRoute('entity.node.canonical', ['node' => 65641]);
_custom_redirect($url->toString());
break;
// Park -> Park
case 616:
$url = Url::fromRoute('entity.node.canonical', ['node' => 65642]);
_custom_redirect($url->toString());
break;
// Recycling Centre -> Bring Bank
case 4286:
$url = Url::fromRoute('entity.node.canonical', ['node' => 65696]);
_custom_redirect($url->toString());
break;
Arguments
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/Extension/ModuleHandler.php
}
/**
* {@inheritdoc}
*/
public function invoke($module, $hook, array $args = []) {
if (!$this->hasImplementations($hook, $module)) {
return;
}
$hookInvoker = \Closure::fromCallable($module . '_' . $hook);
return call_user_func_array($hookInvoker, $args);
}
/**
* {@inheritdoc}
*/
public function invokeAll($hook, array $args = []) {
$return = [];
$this->invokeAllWith($hook, function (callable $hook, string $module) use ($args, &$return) {
$result = call_user_func_array($hook, $args);
if (isset($result) && is_array($result)) {
$return = NestedArray::mergeDeep($return, $result);
}
elseif (isset($result)) {
$return[] = $result;
}
});
return $return;
}
/**
* {@inheritdoc}
*/
public function invokeDeprecated($description, $module, $hook, array $args = []) {
$result = $this->invoke($module, $hook, $args);
$this->triggerDeprecationError($description, $hook);
return $result;
}
/**
Arguments
array:17 [
"#node" => Drupal\node\Entity\Node {#1944}
"#view_mode" => "full"
"#cache" => array:5 [
"tags" => array:2 [
0 => "node_view"
1 => "node:16421"
]
"contexts" => array:5 [
0 => "route.name.is_layout_builder_ui"
1 => "url.site"
2 => "languages:language_interface"
3 => "theme"
4 => "user.permissions"
]
"max-age" => -1
"keys" => array:4 [
0 => "entity_view"
1 => "node"
2 => "16421"
3 => "full"
]
"bin" => "render"
]
"#theme" => "node"
"#weight" => 0
"#pre_render" => array:2 [
0 => array:2 [
0 => Drupal\node\NodeViewBuilder {#2058}
1 => "build"
]
1 => array:2 [
0 => Drupal\node\Controller\NodeViewController {#2054}
1 => "buildTitle"
]
]
"#entity_type" => "node"
"#attached" => array:1 [
"html_head_link" => array:2 [
0 => array:1 [
0 => array:2 [
"rel" => "canonical"
"href" => "http://www.dlrcoco.ie/dlr-events/attractions/when-calendar-meetings-published"
]
]
1 => array:1 [
0 => array:2 [
"rel" => "shortlink"
"href" => "http://www.dlrcoco.ie/node/16421"
]
]
]
]
"#cache_properties" => array:1 [
0 => "#title"
]
"field_faq_answer" => array:18 [
"#theme" => "field"
"#title" => "Answer"
"#label_display" => "hidden"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "field_faq_answer"
"#field_type" => "text_with_summary"
"#field_translatable" => false
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\text\Plugin\Field\FieldType\TextFieldItemList {#3560}
"#formatter" => "text_default"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:4 [
"#type" => "processed_text"
"#text" => "<p>The calendar is approved by the Organisation, Procedure and Protocol Committee, which is held quarterly (i.e. March, June, September and December). Once approved the Calendar is published on the website.</p>"
"#format" => "full_html"
"#langcode" => "en"
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => 1
]
"field_meta_tags" => array:1 [
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
]
"field_service_type" => array:18 [
"#theme" => "field"
"#title" => "Service Type"
"#label_display" => "above"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "field_service_type"
"#field_type" => "entity_reference"
"#field_translatable" => true
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\Core\Field\EntityReferenceFieldItemList {#4098}
"#formatter" => "entity_reference_label"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:6 [
"#type" => "link"
"#title" => "Councillors & Democracy"
"#url" => Drupal\Core\Url {#4398}
"#options" => array:3 [
"entity_type" => "taxonomy_term"
"entity" => Drupal\taxonomy\Entity\Term {#4392}
"language" => Drupal\Core\Language\Language {#1679}
]
"#entity" => Drupal\taxonomy\Entity\Term {#4392}
"#cache" => array:3 [
"tags" => array:1 [
0 => "taxonomy_term:451"
]
"contexts" => array:1 [
0 => "user.permissions"
]
"max-age" => -1
]
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => 2
]
"uid" => array:18 [
"#theme" => "field"
"#title" => Drupal\Core\StringTranslation\TranslatableMarkup {#3592}
"#label_display" => "hidden"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "uid"
"#field_type" => "entity_reference"
"#field_translatable" => true
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\Core\Field\EntityReferenceFieldItemList {#4190}
"#formatter" => "author"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:4 [
"#theme" => "username"
"#account" => Drupal\user\Entity\User {#4412}
"#link_options" => array:1 [
"attributes" => array:1 [
"rel" => "author"
]
]
"#cache" => array:3 [
"tags" => array:1 [
0 => "user:2876"
]
"contexts" => []
"max-age" => -1
]
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => 0
]
"title" => array:18 [
"#theme" => "field"
"#title" => "Question"
"#label_display" => "hidden"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "title"
"#field_type" => "string"
"#field_translatable" => true
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\Core\Field\FieldItemList {#4202}
"#formatter" => "string"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:3 [
"#type" => "inline_template"
"#template" => "{{ value|nl2br }}"
"#context" => array:1 [
"value" => "When is the Calendar of Meetings published?"
]
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => -5
]
"created" => array:18 [
"#theme" => "field"
"#title" => Drupal\Core\StringTranslation\TranslatableMarkup {#3599}
"#label_display" => "hidden"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "created"
"#field_type" => "created"
"#field_translatable" => true
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\Core\Field\FieldItemList {#4209}
"#formatter" => "timestamp"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:4 [
"#theme" => "time"
"#attributes" => array:2 [
"datetime" => "2016-05-17T10:16:42+01:00"
"title" => "Tuesday, May 17, 2016 - 10:16"
]
"#text" => "Tue, 05/17/2016 - 10:16"
"#cache" => array:1 [
"contexts" => array:1 [
0 => "timezone"
]
]
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => 0
]
"_layout_builder" => array:1 [
"#cache" => array:3 [
"contexts" => array:1 [
0 => "languages:language_interface"
]
"tags" => array:2 [
0 => "config:core.entity_view_display.node.faq.default"
1 => "node:16421"
]
"max-age" => -1
]
]
"links" => array:1 [
"#lazy_builder" => array:2 [
0 => "Drupal\node\NodeViewBuilder::renderLinks"
1 => array:5 [
0 => "16421"
1 => "full"
2 => "en"
3 => false
4 => null
]
]
]
]
Drupal\node\Entity\Node {#1944}
Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay {#2128}
"full"
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/Extension/ModuleHandler.php
}
/**
* {@inheritdoc}
*/
public function invoke($module, $hook, array $args = []) {
if (!$this->hasImplementations($hook, $module)) {
return;
}
$hookInvoker = \Closure::fromCallable($module . '_' . $hook);
return call_user_func_array($hookInvoker, $args);
}
/**
* {@inheritdoc}
*/
public function invokeAll($hook, array $args = []) {
$return = [];
$this->invokeAllWith($hook, function (callable $hook, string $module) use ($args, &$return) {
$result = call_user_func_array($hook, $args);
if (isset($result) && is_array($result)) {
$return = NestedArray::mergeDeep($return, $result);
}
elseif (isset($result)) {
$return[] = $result;
}
});
return $return;
}
/**
* {@inheritdoc}
*/
public function invokeDeprecated($description, $module, $hook, array $args = []) {
$result = $this->invoke($module, $hook, $args);
$this->triggerDeprecationError($description, $hook);
return $result;
}
/**
Arguments
dlr_custom_node_view(array &$build, EntityInterface $entity, EntityViewDisplayInterface $display, $view_mode) {#4465 …2}
array:4 [
0 => & array:17 [
"#node" => Drupal\node\Entity\Node {#1944}
"#view_mode" => "full"
"#cache" => array:5 [
"tags" => array:2 [
0 => "node_view"
1 => "node:16421"
]
"contexts" => array:5 [
0 => "route.name.is_layout_builder_ui"
1 => "url.site"
2 => "languages:language_interface"
3 => "theme"
4 => "user.permissions"
]
"max-age" => -1
"keys" => array:4 [
0 => "entity_view"
1 => "node"
2 => "16421"
3 => "full"
]
"bin" => "render"
]
"#theme" => "node"
"#weight" => 0
"#pre_render" => array:2 [
0 => array:2 [
0 => Drupal\node\NodeViewBuilder {#2058}
1 => "build"
]
1 => array:2 [
0 => Drupal\node\Controller\NodeViewController {#2054}
1 => "buildTitle"
]
]
"#entity_type" => "node"
"#attached" => array:1 [
"html_head_link" => array:2 [
0 => array:1 [
0 => array:2 [
"rel" => "canonical"
"href" => "http://www.dlrcoco.ie/dlr-events/attractions/when-calendar-meetings-published"
]
]
1 => array:1 [
0 => array:2 [
"rel" => "shortlink"
"href" => "http://www.dlrcoco.ie/node/16421"
]
]
]
]
"#cache_properties" => array:1 [
0 => "#title"
]
"field_faq_answer" => array:18 [
"#theme" => "field"
"#title" => "Answer"
"#label_display" => "hidden"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "field_faq_answer"
"#field_type" => "text_with_summary"
"#field_translatable" => false
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\text\Plugin\Field\FieldType\TextFieldItemList {#3560}
"#formatter" => "text_default"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:4 [
"#type" => "processed_text"
"#text" => "<p>The calendar is approved by the Organisation, Procedure and Protocol Committee, which is held quarterly (i.e. March, June, September and December). Once approved the Calendar is published on the website.</p>"
"#format" => "full_html"
"#langcode" => "en"
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => 1
]
"field_meta_tags" => array:1 [
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
]
"field_service_type" => array:18 [
"#theme" => "field"
"#title" => "Service Type"
"#label_display" => "above"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "field_service_type"
"#field_type" => "entity_reference"
"#field_translatable" => true
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\Core\Field\EntityReferenceFieldItemList {#4098}
"#formatter" => "entity_reference_label"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:6 [
"#type" => "link"
"#title" => "Councillors & Democracy"
"#url" => Drupal\Core\Url {#4398}
"#options" => array:3 [
"entity_type" => "taxonomy_term"
"entity" => Drupal\taxonomy\Entity\Term {#4392}
"language" => Drupal\Core\Language\Language {#1679}
]
"#entity" => Drupal\taxonomy\Entity\Term {#4392}
"#cache" => array:3 [
"tags" => array:1 [
0 => "taxonomy_term:451"
]
"contexts" => array:1 [
0 => "user.permissions"
]
"max-age" => -1
]
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => 2
]
"uid" => array:18 [
"#theme" => "field"
"#title" => Drupal\Core\StringTranslation\TranslatableMarkup {#3592}
"#label_display" => "hidden"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "uid"
"#field_type" => "entity_reference"
"#field_translatable" => true
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\Core\Field\EntityReferenceFieldItemList {#4190}
"#formatter" => "author"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:4 [
"#theme" => "username"
"#account" => Drupal\user\Entity\User {#4412}
"#link_options" => array:1 [
"attributes" => array:1 [
"rel" => "author"
]
]
"#cache" => array:3 [
"tags" => array:1 [
0 => "user:2876"
]
"contexts" => []
"max-age" => -1
]
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => 0
]
"title" => array:18 [
"#theme" => "field"
"#title" => "Question"
"#label_display" => "hidden"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "title"
"#field_type" => "string"
"#field_translatable" => true
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\Core\Field\FieldItemList {#4202}
"#formatter" => "string"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:3 [
"#type" => "inline_template"
"#template" => "{{ value|nl2br }}"
"#context" => array:1 [
"value" => "When is the Calendar of Meetings published?"
]
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => -5
]
"created" => array:18 [
"#theme" => "field"
"#title" => Drupal\Core\StringTranslation\TranslatableMarkup {#3599}
"#label_display" => "hidden"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "created"
"#field_type" => "created"
"#field_translatable" => true
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\Core\Field\FieldItemList {#4209}
"#formatter" => "timestamp"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:4 [
"#theme" => "time"
"#attributes" => array:2 [
"datetime" => "2016-05-17T10:16:42+01:00"
"title" => "Tuesday, May 17, 2016 - 10:16"
]
"#text" => "Tue, 05/17/2016 - 10:16"
"#cache" => array:1 [
"contexts" => array:1 [
0 => "timezone"
]
]
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => 0
]
"_layout_builder" => array:1 [
"#cache" => array:3 [
"contexts" => array:1 [
0 => "languages:language_interface"
]
"tags" => array:2 [
0 => "config:core.entity_view_display.node.faq.default"
1 => "node:16421"
]
"max-age" => -1
]
]
"links" => array:1 [
"#lazy_builder" => array:2 [
0 => "Drupal\node\NodeViewBuilder::renderLinks"
1 => array:5 [
0 => "16421"
1 => "full"
2 => "en"
3 => false
4 => null
]
]
]
]
1 => Drupal\node\Entity\Node {#1944}
2 => Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay {#2128}
3 => "full"
]
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/Extension/ModuleHandler.php
return TRUE;
}
}
}
$implementations = $this->getImplementationInfo($hook);
if ($modules === NULL && !empty($implementations)) {
return TRUE;
}
return !empty(array_intersect((array) $modules, array_keys($implementations)));
}
/**
* {@inheritdoc}
*/
public function invokeAllWith(string $hook, callable $callback): void {
foreach (array_keys($this->getImplementationInfo($hook)) as $module) {
$hookInvoker = \Closure::fromCallable($module . '_' . $hook);
$callback($hookInvoker, $module);
}
}
/**
* {@inheritdoc}
*/
public function invoke($module, $hook, array $args = []) {
if (!$this->hasImplementations($hook, $module)) {
return;
}
$hookInvoker = \Closure::fromCallable($module . '_' . $hook);
return call_user_func_array($hookInvoker, $args);
}
/**
* {@inheritdoc}
*/
public function invokeAll($hook, array $args = []) {
$return = [];
$this->invokeAllWith($hook, function (callable $hook, string $module) use ($args, &$return) {
Arguments
dlr_custom_node_view(array &$build, EntityInterface $entity, EntityViewDisplayInterface $display, $view_mode) {#4465 …2}
"dlr_custom"
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/Extension/ModuleHandler.php
return;
}
$hookInvoker = \Closure::fromCallable($module . '_' . $hook);
return call_user_func_array($hookInvoker, $args);
}
/**
* {@inheritdoc}
*/
public function invokeAll($hook, array $args = []) {
$return = [];
$this->invokeAllWith($hook, function (callable $hook, string $module) use ($args, &$return) {
$result = call_user_func_array($hook, $args);
if (isset($result) && is_array($result)) {
$return = NestedArray::mergeDeep($return, $result);
}
elseif (isset($result)) {
$return[] = $result;
}
});
return $return;
}
/**
* {@inheritdoc}
*/
public function invokeDeprecated($description, $module, $hook, array $args = []) {
$result = $this->invoke($module, $hook, $args);
$this->triggerDeprecationError($description, $hook);
return $result;
}
/**
* {@inheritdoc}
*/
public function invokeAllDeprecated($description, $hook, array $args = []) {
$result = $this->invokeAll($hook, $args);
$this->triggerDeprecationError($description, $hook);
return $result;
}
Arguments
"node_view"
Closure(callable $hook, string $module) {#4474 …4}
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/Entity/EntityViewBuilder.php
$children = Element::children($build_list);
foreach ($children as $key) {
if (isset($build_list[$key][$entity_type_key])) {
$entity = $build_list[$key][$entity_type_key];
if ($entity instanceof FieldableEntityInterface) {
$view_modes[$build_list[$key]['#view_mode']][$key] = $entity;
}
}
}
// Build content for the displays represented by the entities.
foreach ($view_modes as $view_mode => $view_mode_entities) {
$displays = EntityViewDisplay::collectRenderDisplays($view_mode_entities, $view_mode);
$this->buildComponents($build_list, $view_mode_entities, $displays, $view_mode);
foreach (array_keys($view_mode_entities) as $key) {
// Allow for alterations while building, before rendering.
$entity = $build_list[$key][$entity_type_key];
$display = $displays[$entity->bundle()];
$this->moduleHandler()->invokeAll($view_hook, [&$build_list[$key], $entity, $display, $view_mode]);
$this->moduleHandler()->invokeAll('entity_view', [&$build_list[$key], $entity, $display, $view_mode]);
$this->addContextualLinks($build_list[$key], $entity);
$this->alterBuild($build_list[$key], $entity, $display, $view_mode);
// Assign the weights configured in the display.
// @todo Once https://www.drupal.org/node/1875974 provides the missing
// API, only do it for 'extra fields', since other components have
// been taken care of in EntityViewDisplay::buildMultiple().
foreach ($display->getComponents() as $name => $options) {
if (isset($build_list[$key][$name])) {
$build_list[$key][$name]['#weight'] = $options['weight'];
}
}
// Allow modules to modify the render array.
$this->moduleHandler()->alter([$view_hook, 'entity_view'], $build_list[$key], $entity, $display);
}
}
Arguments
"node_view"
array:4 [
0 => & array:17 [
"#node" => Drupal\node\Entity\Node {#1944}
"#view_mode" => "full"
"#cache" => array:5 [
"tags" => array:2 [
0 => "node_view"
1 => "node:16421"
]
"contexts" => array:5 [
0 => "route.name.is_layout_builder_ui"
1 => "url.site"
2 => "languages:language_interface"
3 => "theme"
4 => "user.permissions"
]
"max-age" => -1
"keys" => array:4 [
0 => "entity_view"
1 => "node"
2 => "16421"
3 => "full"
]
"bin" => "render"
]
"#theme" => "node"
"#weight" => 0
"#pre_render" => array:2 [
0 => array:2 [
0 => Drupal\node\NodeViewBuilder {#2058}
1 => "build"
]
1 => array:2 [
0 => Drupal\node\Controller\NodeViewController {#2054}
1 => "buildTitle"
]
]
"#entity_type" => "node"
"#attached" => array:1 [
"html_head_link" => array:2 [
0 => array:1 [
0 => array:2 [
"rel" => "canonical"
"href" => "http://www.dlrcoco.ie/dlr-events/attractions/when-calendar-meetings-published"
]
]
1 => array:1 [
0 => array:2 [
"rel" => "shortlink"
"href" => "http://www.dlrcoco.ie/node/16421"
]
]
]
]
"#cache_properties" => array:1 [
0 => "#title"
]
"field_faq_answer" => array:18 [
"#theme" => "field"
"#title" => "Answer"
"#label_display" => "hidden"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "field_faq_answer"
"#field_type" => "text_with_summary"
"#field_translatable" => false
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\text\Plugin\Field\FieldType\TextFieldItemList {#3560}
"#formatter" => "text_default"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:4 [
"#type" => "processed_text"
"#text" => "<p>The calendar is approved by the Organisation, Procedure and Protocol Committee, which is held quarterly (i.e. March, June, September and December). Once approved the Calendar is published on the website.</p>"
"#format" => "full_html"
"#langcode" => "en"
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => 1
]
"field_meta_tags" => array:1 [
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
]
"field_service_type" => array:18 [
"#theme" => "field"
"#title" => "Service Type"
"#label_display" => "above"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "field_service_type"
"#field_type" => "entity_reference"
"#field_translatable" => true
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\Core\Field\EntityReferenceFieldItemList {#4098}
"#formatter" => "entity_reference_label"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:6 [
"#type" => "link"
"#title" => "Councillors & Democracy"
"#url" => Drupal\Core\Url {#4398}
"#options" => array:3 [
"entity_type" => "taxonomy_term"
"entity" => Drupal\taxonomy\Entity\Term {#4392}
"language" => Drupal\Core\Language\Language {#1679}
]
"#entity" => Drupal\taxonomy\Entity\Term {#4392}
"#cache" => array:3 [
"tags" => array:1 [
0 => "taxonomy_term:451"
]
"contexts" => array:1 [
0 => "user.permissions"
]
"max-age" => -1
]
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => 2
]
"uid" => array:18 [
"#theme" => "field"
"#title" => Drupal\Core\StringTranslation\TranslatableMarkup {#3592}
"#label_display" => "hidden"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "uid"
"#field_type" => "entity_reference"
"#field_translatable" => true
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\Core\Field\EntityReferenceFieldItemList {#4190}
"#formatter" => "author"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:4 [
"#theme" => "username"
"#account" => Drupal\user\Entity\User {#4412}
"#link_options" => array:1 [
"attributes" => array:1 [
"rel" => "author"
]
]
"#cache" => array:3 [
"tags" => array:1 [
0 => "user:2876"
]
"contexts" => []
"max-age" => -1
]
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => 0
]
"title" => array:18 [
"#theme" => "field"
"#title" => "Question"
"#label_display" => "hidden"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "title"
"#field_type" => "string"
"#field_translatable" => true
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\Core\Field\FieldItemList {#4202}
"#formatter" => "string"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:3 [
"#type" => "inline_template"
"#template" => "{{ value|nl2br }}"
"#context" => array:1 [
"value" => "When is the Calendar of Meetings published?"
]
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => -5
]
"created" => array:18 [
"#theme" => "field"
"#title" => Drupal\Core\StringTranslation\TranslatableMarkup {#3599}
"#label_display" => "hidden"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "created"
"#field_type" => "created"
"#field_translatable" => true
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\Core\Field\FieldItemList {#4209}
"#formatter" => "timestamp"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:4 [
"#theme" => "time"
"#attributes" => array:2 [
"datetime" => "2016-05-17T10:16:42+01:00"
"title" => "Tuesday, May 17, 2016 - 10:16"
]
"#text" => "Tue, 05/17/2016 - 10:16"
"#cache" => array:1 [
"contexts" => array:1 [
0 => "timezone"
]
]
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => 0
]
"_layout_builder" => array:1 [
"#cache" => array:3 [
"contexts" => array:1 [
0 => "languages:language_interface"
]
"tags" => array:2 [
0 => "config:core.entity_view_display.node.faq.default"
1 => "node:16421"
]
"max-age" => -1
]
]
"links" => array:1 [
"#lazy_builder" => array:2 [
0 => "Drupal\node\NodeViewBuilder::renderLinks"
1 => array:5 [
0 => "16421"
1 => "full"
2 => "en"
3 => false
4 => null
]
]
]
]
1 => Drupal\node\Entity\Node {#1944}
2 => Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay {#2128}
3 => "full"
]
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/Entity/EntityViewBuilder.php
* Builds an entity's view; augments entity defaults.
*
* This function is assigned as a #pre_render callback in ::view().
*
* It transforms the renderable array for a single entity to the same
* structure as if we were rendering multiple entities, and then calls the
* default ::buildMultiple() #pre_render callback.
*
* @param array $build
* A renderable array containing build information and context for an entity
* view.
*
* @return array
* The updated renderable array.
*
* @see \Drupal\Core\Render\RendererInterface::render()
*/
public function build(array $build) {
$build_list = [$build];
$build_list = $this->buildMultiple($build_list);
return $build_list[0];
}
/**
* Builds multiple entities' views; augments entity defaults.
*
* This function is assigned as a #pre_render callback in ::viewMultiple().
*
* By delaying the building of an entity until the #pre_render processing in
* \Drupal::service('renderer')->render(), the processing cost of assembling
* an entity's renderable array is saved on cache-hit requests.
*
* @param array $build_list
* A renderable array containing build information and context for an
* entity view.
*
* @return array
* The updated renderable array.
*
* @see \Drupal\Core\Render\RendererInterface::render()
Arguments
array:1 [
0 => & array:17 [
"#node" => Drupal\node\Entity\Node {#1944}
"#view_mode" => "full"
"#cache" => array:5 [
"tags" => array:2 [
0 => "node_view"
1 => "node:16421"
]
"contexts" => array:5 [
0 => "route.name.is_layout_builder_ui"
1 => "url.site"
2 => "languages:language_interface"
3 => "theme"
4 => "user.permissions"
]
"max-age" => -1
"keys" => array:4 [
0 => "entity_view"
1 => "node"
2 => "16421"
3 => "full"
]
"bin" => "render"
]
"#theme" => "node"
"#weight" => 0
"#pre_render" => array:2 [
0 => array:2 [
0 => Drupal\node\NodeViewBuilder {#2058}
1 => "build"
]
1 => array:2 [
0 => Drupal\node\Controller\NodeViewController {#2054}
1 => "buildTitle"
]
]
"#entity_type" => "node"
"#attached" => array:1 [
"html_head_link" => array:2 [
0 => array:1 [
0 => array:2 [
"rel" => "canonical"
"href" => "http://www.dlrcoco.ie/dlr-events/attractions/when-calendar-meetings-published"
]
]
1 => array:1 [
0 => array:2 [
"rel" => "shortlink"
"href" => "http://www.dlrcoco.ie/node/16421"
]
]
]
]
"#cache_properties" => array:1 [
0 => "#title"
]
"field_faq_answer" => array:18 [
"#theme" => "field"
"#title" => "Answer"
"#label_display" => "hidden"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "field_faq_answer"
"#field_type" => "text_with_summary"
"#field_translatable" => false
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\text\Plugin\Field\FieldType\TextFieldItemList {#3560}
"#formatter" => "text_default"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:4 [
"#type" => "processed_text"
"#text" => "<p>The calendar is approved by the Organisation, Procedure and Protocol Committee, which is held quarterly (i.e. March, June, September and December). Once approved the Calendar is published on the website.</p>"
"#format" => "full_html"
"#langcode" => "en"
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => 1
]
"field_meta_tags" => array:1 [
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
]
"field_service_type" => array:18 [
"#theme" => "field"
"#title" => "Service Type"
"#label_display" => "above"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "field_service_type"
"#field_type" => "entity_reference"
"#field_translatable" => true
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\Core\Field\EntityReferenceFieldItemList {#4098}
"#formatter" => "entity_reference_label"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:6 [
"#type" => "link"
"#title" => "Councillors & Democracy"
"#url" => Drupal\Core\Url {#4398}
"#options" => array:3 [
"entity_type" => "taxonomy_term"
"entity" => Drupal\taxonomy\Entity\Term {#4392}
"language" => Drupal\Core\Language\Language {#1679}
]
"#entity" => Drupal\taxonomy\Entity\Term {#4392}
"#cache" => array:3 [
"tags" => array:1 [
0 => "taxonomy_term:451"
]
"contexts" => array:1 [
0 => "user.permissions"
]
"max-age" => -1
]
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => 2
]
"uid" => array:18 [
"#theme" => "field"
"#title" => Drupal\Core\StringTranslation\TranslatableMarkup {#3592}
"#label_display" => "hidden"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "uid"
"#field_type" => "entity_reference"
"#field_translatable" => true
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\Core\Field\EntityReferenceFieldItemList {#4190}
"#formatter" => "author"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:4 [
"#theme" => "username"
"#account" => Drupal\user\Entity\User {#4412}
"#link_options" => array:1 [
"attributes" => array:1 [
"rel" => "author"
]
]
"#cache" => array:3 [
"tags" => array:1 [
0 => "user:2876"
]
"contexts" => []
"max-age" => -1
]
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => 0
]
"title" => array:18 [
"#theme" => "field"
"#title" => "Question"
"#label_display" => "hidden"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "title"
"#field_type" => "string"
"#field_translatable" => true
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\Core\Field\FieldItemList {#4202}
"#formatter" => "string"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:3 [
"#type" => "inline_template"
"#template" => "{{ value|nl2br }}"
"#context" => array:1 [
"value" => "When is the Calendar of Meetings published?"
]
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => -5
]
"created" => array:18 [
"#theme" => "field"
"#title" => Drupal\Core\StringTranslation\TranslatableMarkup {#3599}
"#label_display" => "hidden"
"#view_mode" => "full"
"#language" => "en"
"#field_name" => "created"
"#field_type" => "created"
"#field_translatable" => true
"#entity_type" => "node"
"#bundle" => "faq"
"#object" => Drupal\node\Entity\Node {#1944}
"#items" => Drupal\Core\Field\FieldItemList {#4209}
"#formatter" => "timestamp"
"#is_multiple" => false
"#third_party_settings" => []
0 => array:4 [
"#theme" => "time"
"#attributes" => array:2 [
"datetime" => "2016-05-17T10:16:42+01:00"
"title" => "Tuesday, May 17, 2016 - 10:16"
]
"#text" => "Tue, 05/17/2016 - 10:16"
"#cache" => array:1 [
"contexts" => array:1 [
0 => "timezone"
]
]
]
"#cache" => array:3 [
"contexts" => []
"tags" => []
"max-age" => -1
]
"#weight" => 0
]
"_layout_builder" => array:1 [
"#cache" => array:3 [
"contexts" => array:1 [
0 => "languages:language_interface"
]
"tags" => array:2 [
0 => "config:core.entity_view_display.node.faq.default"
1 => "node:16421"
]
"max-age" => -1
]
]
"links" => array:1 [
"#lazy_builder" => array:2 [
0 => "Drupal\node\NodeViewBuilder::renderLinks"
1 => array:5 [
0 => "16421"
1 => "full"
2 => "en"
3 => false
4 => null
]
]
]
]
]
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php
if (is_object($description)) {
$description = get_class($description);
}
if (isset($method_name)) {
$description .= '::' . $method_name;
}
$message = sprintf($message, $description);
if ($error_type === TrustedCallbackInterface::TRIGGER_SILENCED_DEPRECATION) {
@trigger_error($message, E_USER_DEPRECATED);
}
elseif ($error_type === TrustedCallbackInterface::TRIGGER_WARNING) {
trigger_error($message, E_USER_WARNING);
}
else {
throw new UntrustedCallbackException($message);
}
}
// @TODO Allow named arguments in https://www.drupal.org/node/3174150
return call_user_func_array($callback, array_values($args));
}
}
Arguments
array:9 [
"#node" => Drupal\node\Entity\Node {#1944}
"#view_mode" => "full"
"#cache" => array:5 [
"tags" => array:2 [
0 => "node_view"
1 => "node:16421"
]
"contexts" => array:5 [
0 => "route.name.is_layout_builder_ui"
1 => "url.site"
2 => "languages:language_interface"
3 => "theme"
4 => "user.permissions"
]
"max-age" => -1
"keys" => array:4 [
0 => "entity_view"
1 => "node"
2 => "16421"
3 => "full"
]
"bin" => "render"
]
"#theme" => "node"
"#weight" => 0
"#pre_render" => array:2 [
0 => array:2 [
0 => Drupal\node\NodeViewBuilder {#2058}
1 => "build"
]
1 => array:2 [
0 => Drupal\node\Controller\NodeViewController {#2054}
1 => "buildTitle"
]
]
"#entity_type" => "node"
"#attached" => array:1 [
"html_head_link" => array:2 [
0 => array:1 [
0 => array:2 [
"rel" => "canonical"
"href" => "http://www.dlrcoco.ie/dlr-events/attractions/when-calendar-meetings-published"
]
]
1 => array:1 [
0 => array:2 [
"rel" => "shortlink"
"href" => "http://www.dlrcoco.ie/node/16421"
]
]
]
]
"#cache_properties" => array:1 [
0 => "#title"
]
]
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php
if (is_object($description)) {
$description = get_class($description);
}
if (isset($method_name)) {
$description .= '::' . $method_name;
}
$message = sprintf($message, $description);
if ($error_type === TrustedCallbackInterface::TRIGGER_SILENCED_DEPRECATION) {
@trigger_error($message, E_USER_DEPRECATED);
}
elseif ($error_type === TrustedCallbackInterface::TRIGGER_WARNING) {
trigger_error($message, E_USER_WARNING);
}
else {
throw new UntrustedCallbackException($message);
}
}
// @TODO Allow named arguments in https://www.drupal.org/node/3174150
return call_user_func_array($callback, array_values($args));
}
}
Arguments
array:2 [
0 => Drupal\node\NodeViewBuilder {#2058}
1 => "build"
]
array:1 [
0 => array:9 [
"#node" => Drupal\node\Entity\Node {#1944}
"#view_mode" => "full"
"#cache" => array:5 [
"tags" => array:2 [
0 => "node_view"
1 => "node:16421"
]
"contexts" => array:5 [
0 => "route.name.is_layout_builder_ui"
1 => "url.site"
2 => "languages:language_interface"
3 => "theme"
4 => "user.permissions"
]
"max-age" => -1
"keys" => array:4 [
0 => "entity_view"
1 => "node"
2 => "16421"
3 => "full"
]
"bin" => "render"
]
"#theme" => "node"
"#weight" => 0
"#pre_render" => array:2 [
0 => array:2 [
0 => Drupal\node\NodeViewBuilder {#2058}
1 => "build"
]
1 => array:2 [
0 => Drupal\node\Controller\NodeViewController {#2054}
1 => "buildTitle"
]
]
"#entity_type" => "node"
"#attached" => array:1 [
"html_head_link" => array:2 [
0 => array:1 [
0 => array:2 [
"rel" => "canonical"
"href" => "http://www.dlrcoco.ie/dlr-events/attractions/when-calendar-meetings-published"
]
]
1 => array:1 [
0 => array:2 [
"rel" => "shortlink"
"href" => "http://www.dlrcoco.ie/node/16421"
]
]
]
]
"#cache_properties" => array:1 [
0 => "#title"
]
]
]
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/Render/Renderer.php
* The type of the callback. For example, '#post_render'.
* @param string|callable $callback
* The callback to perform.
* @param array $args
* The arguments to pass to the callback.
*
* @return mixed
* The callback's return value.
*
* @see \Drupal\Core\Security\TrustedCallbackInterface
*/
protected function doCallback($callback_type, $callback, array $args) {
$callable = $this->callableResolver->getCallableFromDefinition($callback);
$message = sprintf('Render %s callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725', $callback_type, '%s');
// Add \Drupal\Core\Render\Element\RenderCallbackInterface as an extra
// trusted interface so that:
// - All public methods on Render elements are considered trusted.
// - Helper classes that contain only callback methods can implement this
// instead of TrustedCallbackInterface.
return $this->doTrustedCallback($callable, $args, $message, TrustedCallbackInterface::THROW_EXCEPTION, RenderCallbackInterface::class);
}
/**
* Add cache debug information to the render array.
*
* @param array $elements
* The renderable array that must be wrapped with the cache debug output.
* @param bool $is_cache_hit
* A flag indicating that the cache is hit or miss.
* @param array $pre_bubbling_elements
* The renderable array for pre-bubbling elements.
* @param float $render_time
* The rendering time.
*
* @return array
* The renderable array.
*/
protected function addDebugOutput(array $elements, bool $is_cache_hit, array $pre_bubbling_elements = [], float $render_time = 0) {
if (empty($elements['#markup'])) {
return $elements;
Arguments
array:2 [
0 => Drupal\node\NodeViewBuilder {#2058}
1 => "build"
]
array:1 [
0 => array:9 [
"#node" => Drupal\node\Entity\Node {#1944}
"#view_mode" => "full"
"#cache" => array:5 [
"tags" => array:2 [
0 => "node_view"
1 => "node:16421"
]
"contexts" => array:5 [
0 => "route.name.is_layout_builder_ui"
1 => "url.site"
2 => "languages:language_interface"
3 => "theme"
4 => "user.permissions"
]
"max-age" => -1
"keys" => array:4 [
0 => "entity_view"
1 => "node"
2 => "16421"
3 => "full"
]
"bin" => "render"
]
"#theme" => "node"
"#weight" => 0
"#pre_render" => array:2 [
0 => array:2 [
0 => Drupal\node\NodeViewBuilder {#2058}
1 => "build"
]
1 => array:2 [
0 => Drupal\node\Controller\NodeViewController {#2054}
1 => "buildTitle"
]
]
"#entity_type" => "node"
"#attached" => array:1 [
"html_head_link" => array:2 [
0 => array:1 [
0 => array:2 [
"rel" => "canonical"
"href" => "http://www.dlrcoco.ie/dlr-events/attractions/when-calendar-meetings-published"
]
]
1 => array:1 [
0 => array:2 [
"rel" => "shortlink"
"href" => "http://www.dlrcoco.ie/node/16421"
]
]
]
]
"#cache_properties" => array:1 [
0 => "#title"
]
]
]
"Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725"
"exception"
"Drupal\Core\Render\Element\RenderCallbackInterface"
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/Render/Renderer.php
// provide helpful details for troubleshooting.
assert(is_array($new_elements), "#lazy_builder callbacks must return a valid renderable array, got " . gettype($new_elements) . " from " . Variable::callableToString($elements['#lazy_builder'][0]));
// Retain the original cacheability metadata, plus cache keys.
CacheableMetadata::createFromRenderArray($elements)
->merge(CacheableMetadata::createFromRenderArray($new_elements))
->applyTo($new_elements);
if (isset($elements['#cache']['keys'])) {
$new_elements['#cache']['keys'] = $elements['#cache']['keys'];
}
$elements = $new_elements;
$elements['#lazy_builder_built'] = TRUE;
}
// Make any final changes to the element before it is rendered. This means
// that the $element or the children can be altered or corrected before the
// element is rendered into the final text.
if (isset($elements['#pre_render'])) {
foreach ($elements['#pre_render'] as $callable) {
$elements = $this->doCallback('#pre_render', $callable, [$elements]);
}
}
// All render elements support #markup and #plain_text.
if (isset($elements['#markup']) || isset($elements['#plain_text'])) {
$elements = $this->ensureMarkupIsSafe($elements);
}
// Defaults for bubbleable rendering metadata.
$elements['#cache']['tags'] = $elements['#cache']['tags'] ?? [];
$elements['#cache']['max-age'] = $elements['#cache']['max-age'] ?? Cache::PERMANENT;
$elements['#attached'] = $elements['#attached'] ?? [];
// Allow #pre_render to abort rendering.
if (!empty($elements['#printed'])) {
// The #printed element contains all the bubbleable rendering metadata for
// the subtree.
$context->update($elements);
// #printed, so rendering is finished, all necessary info collected!
$context->bubble();
Arguments
"#pre_render"
array:2 [
0 => Drupal\node\NodeViewBuilder {#2058}
1 => "build"
]
array:1 [
0 => array:9 [
"#node" => Drupal\node\Entity\Node {#1944}
"#view_mode" => "full"
"#cache" => array:5 [
"tags" => array:2 [
0 => "node_view"
1 => "node:16421"
]
"contexts" => array:5 [
0 => "route.name.is_layout_builder_ui"
1 => "url.site"
2 => "languages:language_interface"
3 => "theme"
4 => "user.permissions"
]
"max-age" => -1
"keys" => array:4 [
0 => "entity_view"
1 => "node"
2 => "16421"
3 => "full"
]
"bin" => "render"
]
"#theme" => "node"
"#weight" => 0
"#pre_render" => array:2 [
0 => array:2 [
0 => Drupal\node\NodeViewBuilder {#2058}
1 => "build"
]
1 => array:2 [
0 => Drupal\node\Controller\NodeViewController {#2054}
1 => "buildTitle"
]
]
"#entity_type" => "node"
"#attached" => array:1 [
"html_head_link" => array:2 [
0 => array:1 [
0 => array:2 [
"rel" => "canonical"
"href" => "http://www.dlrcoco.ie/dlr-events/attractions/when-calendar-meetings-published"
]
]
1 => array:1 [
0 => array:2 [
"rel" => "shortlink"
"href" => "http://www.dlrcoco.ie/node/16421"
]
]
]
]
"#cache_properties" => array:1 [
0 => "#title"
]
]
]
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/Render/Renderer.php
return $this->doReplacePlaceholder($placeholder, $markup, $elements, $placeholder_element);
}
/**
* {@inheritdoc}
*/
public function render(&$elements, $is_root_call = FALSE) {
// Since #pre_render, #post_render, #lazy_builder callbacks and theme
// functions or templates may be used for generating a render array's
// content, and we might be rendering the main content for the page, it is
// possible that any of them throw an exception that will cause a different
// page to be rendered (e.g. throwing
// \Symfony\Component\HttpKernel\Exception\NotFoundHttpException will cause
// the 404 page to be rendered). That page might also use
// Renderer::renderRoot() but if exceptions aren't caught here, it will be
// impossible to call Renderer::renderRoot() again.
// Hence, catch all exceptions, reset the isRenderingRoot property and
// re-throw exceptions.
try {
return $this->doRender($elements, $is_root_call);
}
catch (\Exception $e) {
// Mark the ::rootRender() call finished due to this exception & re-throw.
$this->isRenderingRoot = FALSE;
throw $e;
}
}
/**
* See the docs for ::render().
*/
protected function doRender(&$elements, $is_root_call = FALSE) {
if (empty($elements)) {
return '';
}
if ($this->rendererConfig['debug'] === TRUE) {
$render_start = microtime(TRUE);
}
Arguments
array:9 [
"#node" => Drupal\node\Entity\Node {#1944}
"#view_mode" => "full"
"#cache" => array:5 [
"tags" => array:2 [
0 => "node_view"
1 => "node:16421"
]
"contexts" => array:5 [
0 => "route.name.is_layout_builder_ui"
1 => "url.site"
2 => "languages:language_interface"
3 => "theme"
4 => "user.permissions"
]
"max-age" => -1
"keys" => array:4 [
0 => "entity_view"
1 => "node"
2 => "16421"
3 => "full"
]
"bin" => "render"
]
"#theme" => "node"
"#weight" => 0
"#pre_render" => array:2 [
0 => array:2 [
0 => Drupal\node\NodeViewBuilder {#2058}
1 => "build"
]
1 => array:2 [
0 => Drupal\node\Controller\NodeViewController {#2054}
1 => "buildTitle"
]
]
"#entity_type" => "node"
"#attached" => array:1 [
"html_head_link" => array:2 [
0 => array:1 [
0 => array:2 [
"rel" => "canonical"
"href" => "http://www.dlrcoco.ie/dlr-events/attractions/when-calendar-meetings-published"
]
]
1 => array:1 [
0 => array:2 [
"rel" => "shortlink"
"href" => "http://www.dlrcoco.ie/node/16421"
]
]
]
]
"#cache_properties" => array:1 [
0 => "#title"
]
]
false
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php
$event = new PageDisplayVariantSelectionEvent('simple_page', $route_match);
$this->eventDispatcher->dispatch($event, RenderEvents::SELECT_PAGE_DISPLAY_VARIANT);
$variant_id = $event->getPluginId();
$variant_configuration = $event->getPluginConfiguration();
// We must render the main content now already, because it might provide a
// title. We set its $is_root_call parameter to FALSE, to ensure
// placeholders are not yet replaced. This is essentially "pre-rendering"
// the main content, the "full rendering" will happen in
// ::renderResponse().
// @todo Remove this once https://www.drupal.org/node/2359901 lands.
if (!empty($main_content)) {
$this->renderer->executeInRenderContext(new RenderContext(), function () use (&$main_content) {
if (isset($main_content['#cache']['keys'])) {
// Retain #title, otherwise, dynamically generated titles would be
// missing for controllers whose entire returned render array is
// render cached.
$main_content['#cache_properties'][] = '#title';
}
return $this->renderer->render($main_content, FALSE);
});
$main_content = $this->renderCache->getCacheableRenderArray($main_content) + [
'#title' => $main_content['#title'] ?? NULL,
];
}
$title = $get_title($main_content);
// Instantiate the page display, and give it the main content.
$page_display = $this->displayVariantManager->createInstance($variant_id, $variant_configuration);
if (!$page_display instanceof PageVariantInterface) {
throw new \LogicException('Cannot render the main content for this page because the provided display variant does not implement PageVariantInterface.');
}
$page_display
->setMainContent($main_content)
->setTitle($title)
->addCacheableDependency($event);
// Some display variants need to be passed an array of contexts with
// values because they can't get all their contexts globally. For example,
// in Page Manager, you can create a Page which has a specific static
Arguments
array:9 [
"#node" => Drupal\node\Entity\Node {#1944}
"#view_mode" => "full"
"#cache" => array:5 [
"tags" => array:2 [
0 => "node_view"
1 => "node:16421"
]
"contexts" => array:5 [
0 => "route.name.is_layout_builder_ui"
1 => "url.site"
2 => "languages:language_interface"
3 => "theme"
4 => "user.permissions"
]
"max-age" => -1
"keys" => array:4 [
0 => "entity_view"
1 => "node"
2 => "16421"
3 => "full"
]
"bin" => "render"
]
"#theme" => "node"
"#weight" => 0
"#pre_render" => array:2 [
0 => array:2 [
0 => Drupal\node\NodeViewBuilder {#2058}
1 => "build"
]
1 => array:2 [
0 => Drupal\node\Controller\NodeViewController {#2054}
1 => "buildTitle"
]
]
"#entity_type" => "node"
"#attached" => array:1 [
"html_head_link" => array:2 [
0 => array:1 [
0 => array:2 [
"rel" => "canonical"
"href" => "http://www.dlrcoco.ie/dlr-events/attractions/when-calendar-meetings-published"
]
]
1 => array:1 [
0 => array:2 [
"rel" => "shortlink"
"href" => "http://www.dlrcoco.ie/node/16421"
]
]
]
]
"#cache_properties" => array:1 [
0 => "#title"
]
]
false
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/Render/Renderer.php
return $elements['#markup'];
}
/**
* {@inheritdoc}
*/
public function hasRenderContext() {
return (bool) $this->getCurrentRenderContext();
}
/**
* {@inheritdoc}
*/
public function executeInRenderContext(RenderContext $context, callable $callable) {
// Store the current render context.
$previous_context = $this->getCurrentRenderContext();
// Set the provided context and call the callable, it will use that context.
$this->setCurrentRenderContext($context);
$result = $callable();
assert($context->count() <= 1, 'Bubbling failed.');
// Restore the original render context.
$this->setCurrentRenderContext($previous_context);
return $result;
}
/**
* Returns the current render context.
*
* @return \Drupal\Core\Render\RenderContext|null
* The current render context.
*/
protected function getCurrentRenderContext() {
$request = $this->requestStack->getCurrentRequest();
return static::$contextCollection[$request] ?? NULL;
}
/**
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php
$this->eventDispatcher->dispatch($event, RenderEvents::SELECT_PAGE_DISPLAY_VARIANT);
$variant_id = $event->getPluginId();
$variant_configuration = $event->getPluginConfiguration();
// We must render the main content now already, because it might provide a
// title. We set its $is_root_call parameter to FALSE, to ensure
// placeholders are not yet replaced. This is essentially "pre-rendering"
// the main content, the "full rendering" will happen in
// ::renderResponse().
// @todo Remove this once https://www.drupal.org/node/2359901 lands.
if (!empty($main_content)) {
$this->renderer->executeInRenderContext(new RenderContext(), function () use (&$main_content) {
if (isset($main_content['#cache']['keys'])) {
// Retain #title, otherwise, dynamically generated titles would be
// missing for controllers whose entire returned render array is
// render cached.
$main_content['#cache_properties'][] = '#title';
}
return $this->renderer->render($main_content, FALSE);
});
$main_content = $this->renderCache->getCacheableRenderArray($main_content) + [
'#title' => $main_content['#title'] ?? NULL,
];
}
$title = $get_title($main_content);
// Instantiate the page display, and give it the main content.
$page_display = $this->displayVariantManager->createInstance($variant_id, $variant_configuration);
if (!$page_display instanceof PageVariantInterface) {
throw new \LogicException('Cannot render the main content for this page because the provided display variant does not implement PageVariantInterface.');
}
$page_display
->setMainContent($main_content)
->setTitle($title)
->addCacheableDependency($event);
// Some display variants need to be passed an array of contexts with
// values because they can't get all their contexts globally. For example,
// in Page Manager, you can create a Page which has a specific static
// context (e.g. a context that refers to the Node with nid 6), if any
Arguments
Drupal\Core\Render\RenderContext {#2111
-flags: 6
-dllist: array:1 [
0 => Drupal\Core\Render\BubbleableMetadata {#2104}
]
mode: IT_MODE_LIFO | IT_MODE_KEEP
dllist: array:1 [
0 => Drupal\Core\Render\BubbleableMetadata {#2104}
]
}
Closure() {#2110 …4}
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php
* The theme manager.
*/
public function __construct(TitleResolverInterface $title_resolver, PluginManagerInterface $display_variant_manager, EventDispatcherInterface $event_dispatcher, ModuleHandlerInterface $module_handler, RendererInterface $renderer, RenderCacheInterface $render_cache, array $renderer_config, ThemeManagerInterface $theme_manager) {
$this->titleResolver = $title_resolver;
$this->displayVariantManager = $display_variant_manager;
$this->eventDispatcher = $event_dispatcher;
$this->moduleHandler = $module_handler;
$this->renderer = $renderer;
$this->renderCache = $render_cache;
$this->rendererConfig = $renderer_config;
$this->themeManager = $theme_manager;
}
/**
* {@inheritdoc}
*
* The entire HTML: takes a #type 'page' and wraps it in a #type 'html'.
*/
public function renderResponse(array $main_content, Request $request, RouteMatchInterface $route_match) {
[$page, $title] = $this->prepare($main_content, $request, $route_match);
if (!isset($page['#type']) || $page['#type'] !== 'page') {
throw new \LogicException('Must be #type page');
}
$page['#title'] = $title;
// Now render the rendered page.html.twig template inside the html.html.twig
// template, and use the bubbled #attached metadata from $page to ensure we
// load all attached assets.
$html = [
'#type' => 'html',
'page' => $page,
];
// The special page regions will appear directly in html.html.twig, not in
// page.html.twig, hence add them here, just before rendering html.html.twig.
$this->buildPageTopAndBottom($html);
// Render, but don't replace placeholders yet, because that happens later in
Arguments
array:9 [
"#node" => Drupal\node\Entity\Node {#1944}
"#view_mode" => "full"
"#cache" => array:5 [
"tags" => array:2 [
0 => "node_view"
1 => "node:16421"
]
"contexts" => array:5 [
0 => "route.name.is_layout_builder_ui"
1 => "url.site"
2 => "languages:language_interface"
3 => "theme"
4 => "user.permissions"
]
"max-age" => -1
"keys" => array:4 [
0 => "entity_view"
1 => "node"
2 => "16421"
3 => "full"
]
"bin" => "render"
]
"#theme" => "node"
"#weight" => 0
"#pre_render" => array:2 [
0 => array:2 [
0 => Drupal\node\NodeViewBuilder {#2058}
1 => "build"
]
1 => array:2 [
0 => Drupal\node\Controller\NodeViewController {#2054}
1 => "buildTitle"
]
]
"#entity_type" => "node"
"#attached" => array:1 [
"html_head_link" => array:2 [
0 => array:1 [
0 => array:2 [
"rel" => "canonical"
"href" => "http://www.dlrcoco.ie/dlr-events/attractions/when-calendar-meetings-published"
]
]
1 => array:1 [
0 => array:2 [
"rel" => "shortlink"
"href" => "http://www.dlrcoco.ie/node/16421"
]
]
]
]
"#cache_properties" => array:1 [
0 => "#title"
]
]
Symfony\Component\HttpFoundation\Request {#4
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#7}
+request: Symfony\Component\HttpFoundation\InputBag {#5}
+query: Symfony\Component\HttpFoundation\InputBag {#6}
+server: Symfony\Component\HttpFoundation\ServerBag {#10}
+files: Symfony\Component\HttpFoundation\FileBag {#9}
+cookies: Symfony\Component\HttpFoundation\InputBag {#8}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#11}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/dlr-events/attractions/when-calendar-meetings-published"
#requestUri: "/dlr-events/attractions/when-calendar-meetings-published"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: "html"
#session: Symfony\Component\HttpFoundation\Session\Session {#264}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: ? bool
-trustedValuesCache: []
-isIisRewrite: false
}
Drupal\Core\Routing\CurrentRouteMatch {#464}
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php
/**
* Sets a response given a (main content) render array.
*
* @param \Symfony\Component\HttpKernel\Event\ViewEvent $event
* The event to process.
*/
public function onViewRenderArray(ViewEvent $event) {
$request = $event->getRequest();
$result = $event->getControllerResult();
// Render the controller result into a response if it's a render array.
if (is_array($result) && ($request->query->has(static::WRAPPER_FORMAT) || $request->getRequestFormat() == 'html')) {
$wrapper = $request->query->get(static::WRAPPER_FORMAT, 'html');
// Fall back to HTML if the requested wrapper envelope is not available.
$wrapper = isset($this->mainContentRenderers[$wrapper]) ? $wrapper : 'html';
$renderer = $this->classResolver->getInstanceFromDefinition($this->mainContentRenderers[$wrapper]);
$response = $renderer->renderResponse($result, $request, $this->routeMatch);
// The main content render array is rendered into a different Response
// object, depending on the specified wrapper format.
if ($response instanceof CacheableResponseInterface) {
$main_content_view_subscriber_cacheability = (new CacheableMetadata())->setCacheContexts(['url.query_args:' . static::WRAPPER_FORMAT]);
$response->addCacheableDependency($main_content_view_subscriber_cacheability);
}
$event->setResponse($response);
}
}
/**
* {@inheritdoc}
*/
public static function getSubscribedEvents(): array {
$events[KernelEvents::VIEW][] = ['onViewRenderArray'];
return $events;
}
}
Arguments
array:8 [
"#node" => Drupal\node\Entity\Node {#1944}
"#view_mode" => "full"
"#cache" => array:5 [
"tags" => array:2 [
0 => "node_view"
1 => "node:16421"
]
"contexts" => array:2 [
0 => "route.name.is_layout_builder_ui"
1 => "url.site"
]
"max-age" => -1
"keys" => array:4 [
0 => "entity_view"
1 => "node"
2 => "16421"
3 => "full"
]
"bin" => "render"
]
"#theme" => "node"
"#weight" => 0
"#pre_render" => array:2 [
0 => array:2 [
0 => Drupal\node\NodeViewBuilder {#2058}
1 => "build"
]
1 => array:2 [
0 => Drupal\node\Controller\NodeViewController {#2054}
1 => "buildTitle"
]
]
"#entity_type" => "node"
"#attached" => array:1 [
"html_head_link" => array:2 [
0 => array:1 [
0 => array:2 [
"rel" => "canonical"
"href" => "http://www.dlrcoco.ie/dlr-events/attractions/when-calendar-meetings-published"
]
]
1 => array:1 [
0 => array:2 [
"rel" => "shortlink"
"href" => "http://www.dlrcoco.ie/node/16421"
]
]
]
]
]
Symfony\Component\HttpFoundation\Request {#4
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#7}
+request: Symfony\Component\HttpFoundation\InputBag {#5}
+query: Symfony\Component\HttpFoundation\InputBag {#6}
+server: Symfony\Component\HttpFoundation\ServerBag {#10}
+files: Symfony\Component\HttpFoundation\FileBag {#9}
+cookies: Symfony\Component\HttpFoundation\InputBag {#8}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#11}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/dlr-events/attractions/when-calendar-meetings-published"
#requestUri: "/dlr-events/attractions/when-calendar-meetings-published"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: "html"
#session: Symfony\Component\HttpFoundation\Session\Session {#264}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: ? bool
-trustedValuesCache: []
-isIisRewrite: false
}
Drupal\Core\Routing\CurrentRouteMatch {#464}
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/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]);
}
$stoppable = $event instanceof StoppableEventInterface;
// Invoke listeners and resolve callables if necessary.
foreach ($this->listeners[$event_name] as &$definitions) {
foreach ($definitions as &$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 ($stoppable && $event->isPropagationStopped()) {
return $event;
}
}
}
}
return $event;
}
/**
* {@inheritdoc}
*/
public function getListeners($event_name = NULL): array {
$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\ViewEvent {#2102}
"kernel.view"
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher {#63
#container: Drupal\Core\DependencyInjection\Container {#22 …7}
#listeners: array:62 [
"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:16 [
0 => array:1 [
"service" => array:2 [
0 => "exception.fast_404_html"
1 => "onConfigSave"
]
]
1 => array:1 [
"service" => array:2 [
0 => "update.post_update_registry"
1 => "onConfigSave"
]
]
2 => array:1 [
"service" => array:2 [
0 => "captcha.config_subscriber"
1 => "onSave"
]
]
3 => array:1 [
"service" => array:2 [
0 => "color.config_cache_invalidator"
1 => "onChange"
]
]
4 => array:1 [
"service" => array:2 [
0 => "language.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 => "search_api_solr.config_subscriber"
1 => "onConfigSave"
]
]
9 => array:1 [
"service" => array:2 [
0 => "system.config_subscriber"
1 => "onConfigSave"
]
]
10 => array:1 [
"service" => array:2 [
0 => "system.config_cache_tag"
1 => "onSave"
]
]
11 => array:1 [
"service" => array:2 [
0 => "system.timezone_resolver"
1 => "onConfigSave"
]
]
12 => array:1 [
"service" => array:2 [
0 => "system.advisories_config_subscriber"
1 => "onConfigSave"
]
]
13 => array:1 [
"service" => array:2 [
0 => "system.menus.route_subscriber"
1 => "onConfigSave"
]
]
14 => array:1 [
"service" => array:2 [
0 => "pathauto.settings_cache_tag"
1 => "onSave"
]
]
15 => array:1 [
"service" => array:2 [
0 => "xmlsitemap.link_settings_config_subscriber"
1 => "onChange"
]
]
]
]
"config.delete" => array:4 [
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"
]
]
]
20 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "onConfigDelete"
]
]
]
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "color.config_cache_invalidator"
1 => "onChange"
]
]
1 => array:1 [
"service" => array:2 [
0 => "xmlsitemap.link_settings_config_subscriber"
1 => "onDelete"
]
]
]
]
"config.importer.missing_content" => array:1 [
-1024 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config.importer_subscriber"
1 => "onMissingContent"
]
]
]
]
"kernel.request" => array:10 [
1000 => array:2 [
0 => array:2 [
"service" => array:2 [
0 => "options_request_listener"
1 => "onRequest"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\OptionsRequestSubscriber {#25}
1 => "onRequest"
]
]
1 => array:2 [
"service" => array:2 [
0 => "redirect_leading_slashes_subscriber"
1 => "redirect"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\RedirectLeadingSlashesSubscriber {#263}
1 => "redirect"
]
]
]
300 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onKernelRequestAuthenticate"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#276}
1 => "onKernelRequestAuthenticate"
]
]
]
299 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "system.timezone_resolver"
1 => "setDefaultTimeZone"
]
"callable" => array:2 [
0 => Drupal\system\TimeZoneResolver {#277}
1 => "setDefaultTimeZone"
]
]
]
240 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "stage_file_proxy.proxy_subscriber"
1 => "checkFileOrigin"
]
"callable" => array:2 [
0 => Drupal\stage_file_proxy\EventSubscriber\StageFileProxySubscriber {#294}
1 => "checkFileOrigin"
]
]
]
50 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "ajax_response.subscriber"
1 => "onRequest"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AjaxResponseSubscriber {#293}
1 => "onRequest"
]
]
]
33 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "redirect.request_subscriber"
1 => "onKernelRequestCheckRedirect"
]
"callable" => array:2 [
0 => Drupal\redirect\EventSubscriber\RedirectRequestSubscriber {#372}
1 => "onKernelRequestCheckRedirect"
]
]
]
32 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "router_listener"
1 => "onKernelRequest"
]
"callable" => array:2 [
0 => Symfony\Component\HttpKernel\EventListener\RouterListener {#345}
1 => "onKernelRequest"
]
]
]
31 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onKernelRequestFilterProvider"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#276}
1 => "onKernelRequestFilterProvider"
]
]
]
30 => array:2 [
0 => array:2 [
"service" => array:2 [
0 => "maintenance_mode_subscriber"
1 => "onKernelRequestMaintenance"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\MaintenanceModeSubscriber {#2051}
1 => "onKernelRequestMaintenance"
]
]
1 => array:2 [
"service" => array:2 [
0 => "redirect.route_normalizer_request_subscriber"
1 => "onKernelRequestRedirect"
]
"callable" => array:2 [
0 => Drupal\redirect\EventSubscriber\RouteNormalizerRequestSubscriber {#1691}
1 => "onKernelRequestRedirect"
]
]
]
0 => array:4 [
0 => array:2 [
"service" => array:2 [
0 => "database.replica_kill_switch"
1 => "checkReplicaServer"
]
"callable" => array:2 [
0 => Drupal\Core\Database\ReplicaKillSwitch {#1683}
1 => "checkReplicaServer"
]
]
1 => array:2 [
"service" => array:2 [
0 => "router.route_preloader"
1 => "onRequest"
]
"callable" => array:2 [
0 => Drupal\Core\Routing\RoutePreloader {#1690}
1 => "onRequest"
]
]
2 => array:2 [
"service" => array:2 [
0 => "csv_serialization.csvsubscriber"
1 => "onKernelRequest"
]
"callable" => array:2 [
0 => Drupal\csv_serialization\EventSubscriber\CsvSubscriber {#1688}
1 => "onKernelRequest"
]
]
3 => array:2 [
"service" => array:2 [
0 => "webform_entity_print.request_subscriber"
1 => "requestSetViewMode"
]
"callable" => array:2 [
0 => Drupal\webform_entity_print\EventSubscriber\WebformEntityPrintRequestSubscriber {#1118}
1 => "requestSetViewMode"
]
]
]
]
"Drupal\Core\Database\Event\StatementExecutionEndEvent" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "Drupal\Core\Database\EventSubscriber\StatementExecutionSubscriber"
1 => "onStatementExecutionEnd"
]
]
]
]
"routing.route_dynamic" => array:3 [
3000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "router.route_provider.lazy_builder"
1 => "routerRebuilding"
]
]
]
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "entity_route_subscriber"
1 => "onDynamicRouteEvent"
]
]
1 => 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:4 [
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"
]
]
3 => array:1 [
"service" => array:2 [
0 => "content_moderation.config_import_subscriber"
1 => "onConfigImporterValidate"
]
]
]
]
"routing.route_alter" => array:13 [
5000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "route_http_method_subscriber"
1 => "onRouteBuilding"
]
]
]
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "token.route_subscriber"
1 => "onAlterRoutes"
]
]
]
99 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "entity_usage.route_subscriber"
1 => "onAlterRoutes"
]
]
]
0 => array:18 [
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 => "generic_listing_helper.route_subscriber"
1 => "onAlterRoutes"
]
]
3 => array:1 [
"service" => array:2 [
0 => "group.admin_path.route_subscriber"
1 => "onAlterRoutes"
]
]
4 => array:1 [
"service" => array:2 [
0 => "group.latest_revision.route_subscriber"
1 => "onAlterRoutes"
]
]
5 => array:1 [
"service" => array:2 [
0 => "group.revision.route_subscriber"
1 => "onAlterRoutes"
]
]
6 => array:1 [
"service" => array:2 [
0 => "media_library.route_subscriber"
1 => "onAlterRoutes"
]
]
7 => array:1 [
"service" => array:2 [
0 => "menu_item_extras.route_subscriber"
1 => "onAlterRoutes"
]
]
8 => array:1 [
"service" => array:2 [
0 => "node.route_subscriber"
1 => "onAlterRoutes"
]
]
9 => array:1 [
"service" => array:2 [
0 => "node.admin_path.route_subscriber"
1 => "onAlterRoutes"
]
]
10 => array:1 [
"service" => array:2 [
0 => "redirect.route_subscriber"
1 => "onAlterRoutes"
]
]
11 => array:1 [
"service" => array:2 [
0 => "search_helper.route_subscriber"
1 => "onAlterRoutes"
]
]
12 => array:1 [
"service" => array:2 [
0 => "serialization.user_route_alter_subscriber"
1 => "onRoutingAlterAddFormats"
]
]
13 => array:1 [
"service" => array:2 [
0 => "smart_date.route_subscriber"
1 => "onAlterRoutes"
]
]
14 => array:1 [
"service" => array:2 [
0 => "stage_file_proxy.image_download_controller"
1 => "onAlterDecorateController"
]
]
15 => array:1 [
"service" => array:2 [
0 => "system.menus.route_subscriber"
1 => "onAlterRoutes"
]
]
16 => array:1 [
"service" => array:2 [
0 => "system.access_route_alter_subscriber"
1 => "accessAdminMenuBlockPage"
]
]
17 => array:1 [
"service" => array:2 [
0 => "webform.route_subscriber"
1 => "onAlterRoutes"
]
]
]
-100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "field_ui.subscriber"
1 => "onAlterRoutes"
]
]
]
-110 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_builder.routes"
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 => "content_moderation.route_subscriber"
1 => "onAlterRoutes"
]
]
1 => array:1 [
"service" => array:2 [
0 => "system.admin_path.route_subscriber"
1 => "onAlterRoutes"
]
]
]
-210 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "field_group.subscriber"
1 => "onAlterRoutes"
]
]
]
-220 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "paramconverter_subscriber"
1 => "onRoutingRouteAlterSetParameterConverters"
]
]
]
-300 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "block_content.bc_subscriber"
1 => "onAlterRoutes"
]
]
]
-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:8 [
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"
]
]
]
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"
]
]
]
0 => array:6 [
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 => "geolocation.ajax_subscriber"
1 => "onResponse"
]
]
5 => array:1 [
"service" => array:2 [
0 => "views_infinite_scroll.ajax_subscriber"
1 => "onResponse"
]
]
]
-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"
]
]
]
-1000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "user.authentication.cookie"
1 => "addCheckToUrl"
]
]
]
]
"kernel.exception" => & array:17 [
200 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.fast_404_html"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\Fast404ExceptionHtmlSubscriber {#4864}
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 {#2064}
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 {#4866}
1 => "onException"
]
]
]
80 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onExceptionAccessDenied"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#276}
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 {#874}
1 => "onException"
]
]
1 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onExceptionSendChallenge"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#276}
1 => "onExceptionSendChallenge"
]
]
2 => array:2 [
"service" => array:2 [
0 => "user_access_denied_subscriber"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\user\EventSubscriber\AccessDeniedSubscriber {#4756}
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 {#2107}
1 => "onException"
]
]
]
50 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.logger"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\ExceptionLoggingSubscriber {#4862}
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 {#2051}
1 => "onKernelRequestMaintenance"
]
]
1 => array:2 [
"service" => array:2 [
0 => "entity_print.print_engine_exception_subscriber"
1 => "handleException"
]
"callable" => array:2 [
0 => Drupal\entity_print\EventSubscriber\PrintEngineExceptionSubscriber {#4859}
1 => "handleException"
]
]
2 => array:2 [
"service" => array:2 [
0 => "node.node_translation_exception"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\node\EventSubscriber\NodeTranslationExceptionSubscriber {#4860}
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\WebformDefaultExceptionHtmlSubscriber {#4782}
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 {#4861}
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 {#345}
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 {#4856}
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 {#4757}
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 {#4758}
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 {#4754}
1 => "onException"
]
]
]
-250 => & array:2 [
0 => array:2 [
"service" => array:2 [
0 => "exception.final"
1 => "on4xx"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\FinalExceptionSubscriber {#4822}
1 => "on4xx"
]
]
1 => & array:2 [
"service" => array:2 [
0 => "whoops.exception_subscriber"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\whoops\EventSubscriber\DefaultExceptionSubscriber {#4823}
1 => "onException"
]
]
]
-256 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "exception.final"
1 => "onException"
]
]
]
]
"kernel.view" => array:3 [
1 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "form_ajax_subscriber"
1 => "onView"
]
"callable" => array:2 [
0 => Drupal\Core\Form\EventSubscriber\FormAjaxSubscriber {#2107}
1 => "onView"
]
]
]
0 => array:2 [
0 => array:2 [
"service" => array:2 [
0 => "psr_response_view_subscriber"
1 => "onKernelView"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\PsrResponseSubscriber {#2082}
1 => "onKernelView"
]
]
1 => array:2 [
"service" => array:2 [
0 => "main_content_view_subscriber"
1 => "onViewRenderArray"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\MainContentViewSubscriber {#2108}
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"
]
]
]
]
"site.maintenance_mode_request" => array:2 [
-900 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "user_maintenance_mode_subscriber"
1 => "onMaintenanceModeRequest"
]
]
]
-1000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "maintenance_mode_subscriber"
1 => "onMaintenanceModeRequest"
]
]
]
]
"kernel.terminate" => array:3 [
300 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "user_last_access_subscriber"
1 => "onKernelTerminate"
]
"callable" => array:2 [
0 => Drupal\user\EventSubscriber\UserRequestSubscriber {#4440}
1 => "onKernelTerminate"
]
]
]
200 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "path_alias.subscriber"
1 => "onKernelTerminate"
]
"callable" => array:2 [
0 => Drupal\path_alias\EventSubscriber\PathAliasSubscriber {#2060}
1 => "onKernelTerminate"
]
]
]
100 => array:3 [
0 => array:2 [
"service" => array:2 [
0 => "request_close_subscriber"
1 => "onTerminate"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\RequestCloseSubscriber {#4468}
1 => "onTerminate"
]
]
1 => array:2 [
"service" => array:2 [
0 => "kernel_destruct_subscriber"
1 => "onKernelTerminate"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\KernelDestructionSubscriber {#4443}
1 => "onKernelTerminate"
]
]
2 => array:2 [
"service" => array:2 [
0 => "automated_cron.subscriber"
1 => "onTerminate"
]
"callable" => array:2 [
0 => Drupal\automated_cron\EventSubscriber\AutomatedCron {#4447}
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 => "group.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:2 [
500 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config_exclude_modules_subscriber"
1 => "onConfigTransformExport"
]
]
]
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "menu_item_extras.config_subscriber"
1 => "onConfigExport"
]
]
]
]
"kernel.controller" => array:2 [
200 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "path_alias.subscriber"
1 => "onKernelController"
]
"callable" => array:2 [
0 => Drupal\path_alias\EventSubscriber\PathAliasSubscriber {#2060}
1 => "onKernelController"
]
]
]
0 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "early_rendering_controller_wrapper_subscriber"
1 => "onController"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber {#2061}
1 => "onController"
]
]
]
]
"render.page_display_variant.select" => array:1 [
0 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "block.page_display_variant_subscriber"
1 => "onSelectPageDisplayVariant"
]
"callable" => array:2 [
0 => Drupal\block\EventSubscriber\BlockPageDisplayVariantSubscriber {#2112}
1 => "onSelectPageDisplayVariant"
]
]
]
]
"Drupal\workspaces\Event\WorkspacePrePublishEvent" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "content_moderation.workspace_subscriber"
1 => "onWorkspacePrePublish"
]
]
]
]
"entity.duplicate" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "entity.entity_duplicate_subscriber"
1 => "onEntityDuplicate"
]
]
]
]
"entity_print.print.html_alter" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "entity_print.post_render_subscriber"
1 => "postRender"
]
]
]
]
"feeds.fetch" => array:1 [
-10000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.pubsubhubbub"
1 => "onPostFetch"
]
]
]
]
"feeds.delete_multiple" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.pubsubhubbub"
1 => "onDeleteMultipleFeeds"
]
]
]
]
"feeds.init_import" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.import_subscriber"
1 => "onInitImport"
]
]
]
]
"feeds.init_clear" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.import_subscriber"
1 => "onInitClear"
]
]
]
]
"feeds.init_expire" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.import_subscriber"
1 => "onInitExpire"
]
]
]
]
"feeds.parse" => array:1 [
-10000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds_tamper.feeds_subscriber"
1 => "afterParse"
]
]
]
]
"Drupal\Core\File\Event\FileUploadSanitizeNameEvent" => array:2 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "file.event.subscriber"
1 => "sanitizeFilename"
]
]
]
-9223372036854775808 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "system.file_event.subscriber"
1 => "sanitizeName"
]
]
]
]
"google_analytics_add_event" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "google_analytics.events.messages"
1 => "onAddEvent"
]
]
1 => array:1 [
"service" => array:2 [
0 => "google_analytics.config.custom_config"
1 => "onAddEvent"
]
]
]
]
"google_analytics_page_path" => array:2 [
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "google_analytics.pagepath.invalid_user_login"
1 => "onPagePath"
]
]
]
0 => array:3 [
0 => array:1 [
"service" => array:2 [
0 => "google_analytics.pagepath.content_translation"
1 => "onPagePath"
]
]
1 => array:1 [
"service" => array:2 [
0 => "google_analytics.pagepath.http_status"
1 => "onPagePath"
]
]
2 => array:1 [
"service" => array:2 [
0 => "google_analytics.pagepath.search"
1 => "onCustomPagePath"
]
]
]
]
"google_analytics_add_config" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "google_analytics.config.default_config"
1 => "onAddConfig"
]
]
1 => array:1 [
"service" => array:2 [
0 => "google_analytics.config.custom_config"
1 => "onAddConfig"
]
]
]
]
"config.collection_info" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "addCollections"
]
]
]
]
"config.rename" => array:2 [
20 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "onConfigRename"
]
]
]
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "xmlsitemap.link_settings_config_subscriber"
1 => "onRename"
]
]
]
]
"section_component.build.render_array" => array:1 [
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_builder.render_block_component_subscriber"
1 => "onBuildRender"
]
]
]
]
"prepare_layout" => array:2 [
20 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_library.element.prepare_layout"
1 => "onPrepareLayout"
]
]
]
10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_builder.element.prepare_layout"
1 => "onPrepareLayout"
]
]
]
]
"layout_paragraphs_allowed_types" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_paragraphs_allowed_types_subscriber"
1 => "typeRestrictions"
]
]
]
]
"layout_paragraphs_update_layout" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_paragraphs_update_layout_subscriber"
1 => "layoutUpdated"
]
]
]
]
"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.entity_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.entity_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"
]
]
]
]
"search_api.mapping_views_field_handlers" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api_solr.search_api_subscriber"
1 => "onMappingViewsFieldHandlers"
]
]
]
]
"account.set" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "system.timezone_resolver"
1 => "setDefaultTimeZone"
]
]
]
]
"user.flood_blocked_user" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "user.flood_subscriber"
1 => "blockedUser"
]
]
]
]
"user.flood_blocked_ip" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "user.flood_subscriber"
1 => "blockedIp"
]
]
]
]
"entity_print.print.css_alter" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "webform_entity_print.print_css_alter_subscriber"
1 => "alterCss"
]
]
]
]
"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"
]
]
]
]
"block_content.get_dependency" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_builder.get_block_dependency_subscriber"
1 => "onGetDependency"
]
]
]
]
]
#unsorted: []
}
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/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]);
}
$stoppable = $event instanceof StoppableEventInterface;
// Invoke listeners and resolve callables if necessary.
foreach ($this->listeners[$event_name] as &$definitions) {
foreach ($definitions as &$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 ($stoppable && $event->isPropagationStopped()) {
return $event;
}
}
}
}
return $event;
}
/**
* {@inheritdoc}
*/
public function getListeners($event_name = NULL): array {
$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\Core\EventSubscriber\MainContentViewSubscriber {#2108}
1 => "onViewRenderArray"
]
Symfony\Component\HttpKernel\Event\ViewEvent {#2102}
"kernel.view"
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher {#63
#container: Drupal\Core\DependencyInjection\Container {#22 …7}
#listeners: array:62 [
"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:16 [
0 => array:1 [
"service" => array:2 [
0 => "exception.fast_404_html"
1 => "onConfigSave"
]
]
1 => array:1 [
"service" => array:2 [
0 => "update.post_update_registry"
1 => "onConfigSave"
]
]
2 => array:1 [
"service" => array:2 [
0 => "captcha.config_subscriber"
1 => "onSave"
]
]
3 => array:1 [
"service" => array:2 [
0 => "color.config_cache_invalidator"
1 => "onChange"
]
]
4 => array:1 [
"service" => array:2 [
0 => "language.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 => "search_api_solr.config_subscriber"
1 => "onConfigSave"
]
]
9 => array:1 [
"service" => array:2 [
0 => "system.config_subscriber"
1 => "onConfigSave"
]
]
10 => array:1 [
"service" => array:2 [
0 => "system.config_cache_tag"
1 => "onSave"
]
]
11 => array:1 [
"service" => array:2 [
0 => "system.timezone_resolver"
1 => "onConfigSave"
]
]
12 => array:1 [
"service" => array:2 [
0 => "system.advisories_config_subscriber"
1 => "onConfigSave"
]
]
13 => array:1 [
"service" => array:2 [
0 => "system.menus.route_subscriber"
1 => "onConfigSave"
]
]
14 => array:1 [
"service" => array:2 [
0 => "pathauto.settings_cache_tag"
1 => "onSave"
]
]
15 => array:1 [
"service" => array:2 [
0 => "xmlsitemap.link_settings_config_subscriber"
1 => "onChange"
]
]
]
]
"config.delete" => array:4 [
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"
]
]
]
20 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "onConfigDelete"
]
]
]
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "color.config_cache_invalidator"
1 => "onChange"
]
]
1 => array:1 [
"service" => array:2 [
0 => "xmlsitemap.link_settings_config_subscriber"
1 => "onDelete"
]
]
]
]
"config.importer.missing_content" => array:1 [
-1024 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config.importer_subscriber"
1 => "onMissingContent"
]
]
]
]
"kernel.request" => array:10 [
1000 => array:2 [
0 => array:2 [
"service" => array:2 [
0 => "options_request_listener"
1 => "onRequest"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\OptionsRequestSubscriber {#25}
1 => "onRequest"
]
]
1 => array:2 [
"service" => array:2 [
0 => "redirect_leading_slashes_subscriber"
1 => "redirect"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\RedirectLeadingSlashesSubscriber {#263}
1 => "redirect"
]
]
]
300 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onKernelRequestAuthenticate"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#276}
1 => "onKernelRequestAuthenticate"
]
]
]
299 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "system.timezone_resolver"
1 => "setDefaultTimeZone"
]
"callable" => array:2 [
0 => Drupal\system\TimeZoneResolver {#277}
1 => "setDefaultTimeZone"
]
]
]
240 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "stage_file_proxy.proxy_subscriber"
1 => "checkFileOrigin"
]
"callable" => array:2 [
0 => Drupal\stage_file_proxy\EventSubscriber\StageFileProxySubscriber {#294}
1 => "checkFileOrigin"
]
]
]
50 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "ajax_response.subscriber"
1 => "onRequest"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AjaxResponseSubscriber {#293}
1 => "onRequest"
]
]
]
33 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "redirect.request_subscriber"
1 => "onKernelRequestCheckRedirect"
]
"callable" => array:2 [
0 => Drupal\redirect\EventSubscriber\RedirectRequestSubscriber {#372}
1 => "onKernelRequestCheckRedirect"
]
]
]
32 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "router_listener"
1 => "onKernelRequest"
]
"callable" => array:2 [
0 => Symfony\Component\HttpKernel\EventListener\RouterListener {#345}
1 => "onKernelRequest"
]
]
]
31 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onKernelRequestFilterProvider"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#276}
1 => "onKernelRequestFilterProvider"
]
]
]
30 => array:2 [
0 => array:2 [
"service" => array:2 [
0 => "maintenance_mode_subscriber"
1 => "onKernelRequestMaintenance"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\MaintenanceModeSubscriber {#2051}
1 => "onKernelRequestMaintenance"
]
]
1 => array:2 [
"service" => array:2 [
0 => "redirect.route_normalizer_request_subscriber"
1 => "onKernelRequestRedirect"
]
"callable" => array:2 [
0 => Drupal\redirect\EventSubscriber\RouteNormalizerRequestSubscriber {#1691}
1 => "onKernelRequestRedirect"
]
]
]
0 => array:4 [
0 => array:2 [
"service" => array:2 [
0 => "database.replica_kill_switch"
1 => "checkReplicaServer"
]
"callable" => array:2 [
0 => Drupal\Core\Database\ReplicaKillSwitch {#1683}
1 => "checkReplicaServer"
]
]
1 => array:2 [
"service" => array:2 [
0 => "router.route_preloader"
1 => "onRequest"
]
"callable" => array:2 [
0 => Drupal\Core\Routing\RoutePreloader {#1690}
1 => "onRequest"
]
]
2 => array:2 [
"service" => array:2 [
0 => "csv_serialization.csvsubscriber"
1 => "onKernelRequest"
]
"callable" => array:2 [
0 => Drupal\csv_serialization\EventSubscriber\CsvSubscriber {#1688}
1 => "onKernelRequest"
]
]
3 => array:2 [
"service" => array:2 [
0 => "webform_entity_print.request_subscriber"
1 => "requestSetViewMode"
]
"callable" => array:2 [
0 => Drupal\webform_entity_print\EventSubscriber\WebformEntityPrintRequestSubscriber {#1118}
1 => "requestSetViewMode"
]
]
]
]
"Drupal\Core\Database\Event\StatementExecutionEndEvent" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "Drupal\Core\Database\EventSubscriber\StatementExecutionSubscriber"
1 => "onStatementExecutionEnd"
]
]
]
]
"routing.route_dynamic" => array:3 [
3000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "router.route_provider.lazy_builder"
1 => "routerRebuilding"
]
]
]
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "entity_route_subscriber"
1 => "onDynamicRouteEvent"
]
]
1 => 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:4 [
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"
]
]
3 => array:1 [
"service" => array:2 [
0 => "content_moderation.config_import_subscriber"
1 => "onConfigImporterValidate"
]
]
]
]
"routing.route_alter" => array:13 [
5000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "route_http_method_subscriber"
1 => "onRouteBuilding"
]
]
]
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "token.route_subscriber"
1 => "onAlterRoutes"
]
]
]
99 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "entity_usage.route_subscriber"
1 => "onAlterRoutes"
]
]
]
0 => array:18 [
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 => "generic_listing_helper.route_subscriber"
1 => "onAlterRoutes"
]
]
3 => array:1 [
"service" => array:2 [
0 => "group.admin_path.route_subscriber"
1 => "onAlterRoutes"
]
]
4 => array:1 [
"service" => array:2 [
0 => "group.latest_revision.route_subscriber"
1 => "onAlterRoutes"
]
]
5 => array:1 [
"service" => array:2 [
0 => "group.revision.route_subscriber"
1 => "onAlterRoutes"
]
]
6 => array:1 [
"service" => array:2 [
0 => "media_library.route_subscriber"
1 => "onAlterRoutes"
]
]
7 => array:1 [
"service" => array:2 [
0 => "menu_item_extras.route_subscriber"
1 => "onAlterRoutes"
]
]
8 => array:1 [
"service" => array:2 [
0 => "node.route_subscriber"
1 => "onAlterRoutes"
]
]
9 => array:1 [
"service" => array:2 [
0 => "node.admin_path.route_subscriber"
1 => "onAlterRoutes"
]
]
10 => array:1 [
"service" => array:2 [
0 => "redirect.route_subscriber"
1 => "onAlterRoutes"
]
]
11 => array:1 [
"service" => array:2 [
0 => "search_helper.route_subscriber"
1 => "onAlterRoutes"
]
]
12 => array:1 [
"service" => array:2 [
0 => "serialization.user_route_alter_subscriber"
1 => "onRoutingAlterAddFormats"
]
]
13 => array:1 [
"service" => array:2 [
0 => "smart_date.route_subscriber"
1 => "onAlterRoutes"
]
]
14 => array:1 [
"service" => array:2 [
0 => "stage_file_proxy.image_download_controller"
1 => "onAlterDecorateController"
]
]
15 => array:1 [
"service" => array:2 [
0 => "system.menus.route_subscriber"
1 => "onAlterRoutes"
]
]
16 => array:1 [
"service" => array:2 [
0 => "system.access_route_alter_subscriber"
1 => "accessAdminMenuBlockPage"
]
]
17 => array:1 [
"service" => array:2 [
0 => "webform.route_subscriber"
1 => "onAlterRoutes"
]
]
]
-100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "field_ui.subscriber"
1 => "onAlterRoutes"
]
]
]
-110 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_builder.routes"
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 => "content_moderation.route_subscriber"
1 => "onAlterRoutes"
]
]
1 => array:1 [
"service" => array:2 [
0 => "system.admin_path.route_subscriber"
1 => "onAlterRoutes"
]
]
]
-210 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "field_group.subscriber"
1 => "onAlterRoutes"
]
]
]
-220 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "paramconverter_subscriber"
1 => "onRoutingRouteAlterSetParameterConverters"
]
]
]
-300 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "block_content.bc_subscriber"
1 => "onAlterRoutes"
]
]
]
-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:8 [
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"
]
]
]
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"
]
]
]
0 => array:6 [
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 => "geolocation.ajax_subscriber"
1 => "onResponse"
]
]
5 => array:1 [
"service" => array:2 [
0 => "views_infinite_scroll.ajax_subscriber"
1 => "onResponse"
]
]
]
-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"
]
]
]
-1000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "user.authentication.cookie"
1 => "addCheckToUrl"
]
]
]
]
"kernel.exception" => & array:17 [
200 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.fast_404_html"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\Fast404ExceptionHtmlSubscriber {#4864}
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 {#2064}
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 {#4866}
1 => "onException"
]
]
]
80 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onExceptionAccessDenied"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#276}
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 {#874}
1 => "onException"
]
]
1 => array:2 [
"service" => array:2 [
0 => "authentication_subscriber"
1 => "onExceptionSendChallenge"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\AuthenticationSubscriber {#276}
1 => "onExceptionSendChallenge"
]
]
2 => array:2 [
"service" => array:2 [
0 => "user_access_denied_subscriber"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\user\EventSubscriber\AccessDeniedSubscriber {#4756}
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 {#2107}
1 => "onException"
]
]
]
50 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "exception.logger"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\ExceptionLoggingSubscriber {#4862}
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 {#2051}
1 => "onKernelRequestMaintenance"
]
]
1 => array:2 [
"service" => array:2 [
0 => "entity_print.print_engine_exception_subscriber"
1 => "handleException"
]
"callable" => array:2 [
0 => Drupal\entity_print\EventSubscriber\PrintEngineExceptionSubscriber {#4859}
1 => "handleException"
]
]
2 => array:2 [
"service" => array:2 [
0 => "node.node_translation_exception"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\node\EventSubscriber\NodeTranslationExceptionSubscriber {#4860}
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\WebformDefaultExceptionHtmlSubscriber {#4782}
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 {#4861}
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 {#345}
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 {#4856}
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 {#4757}
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 {#4758}
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 {#4754}
1 => "onException"
]
]
]
-250 => & array:2 [
0 => array:2 [
"service" => array:2 [
0 => "exception.final"
1 => "on4xx"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\FinalExceptionSubscriber {#4822}
1 => "on4xx"
]
]
1 => & array:2 [
"service" => array:2 [
0 => "whoops.exception_subscriber"
1 => "onException"
]
"callable" => array:2 [
0 => Drupal\whoops\EventSubscriber\DefaultExceptionSubscriber {#4823}
1 => "onException"
]
]
]
-256 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "exception.final"
1 => "onException"
]
]
]
]
"kernel.view" => array:3 [
1 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "form_ajax_subscriber"
1 => "onView"
]
"callable" => array:2 [
0 => Drupal\Core\Form\EventSubscriber\FormAjaxSubscriber {#2107}
1 => "onView"
]
]
]
0 => array:2 [
0 => array:2 [
"service" => array:2 [
0 => "psr_response_view_subscriber"
1 => "onKernelView"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\PsrResponseSubscriber {#2082}
1 => "onKernelView"
]
]
1 => array:2 [
"service" => array:2 [
0 => "main_content_view_subscriber"
1 => "onViewRenderArray"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\MainContentViewSubscriber {#2108}
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"
]
]
]
]
"site.maintenance_mode_request" => array:2 [
-900 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "user_maintenance_mode_subscriber"
1 => "onMaintenanceModeRequest"
]
]
]
-1000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "maintenance_mode_subscriber"
1 => "onMaintenanceModeRequest"
]
]
]
]
"kernel.terminate" => array:3 [
300 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "user_last_access_subscriber"
1 => "onKernelTerminate"
]
"callable" => array:2 [
0 => Drupal\user\EventSubscriber\UserRequestSubscriber {#4440}
1 => "onKernelTerminate"
]
]
]
200 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "path_alias.subscriber"
1 => "onKernelTerminate"
]
"callable" => array:2 [
0 => Drupal\path_alias\EventSubscriber\PathAliasSubscriber {#2060}
1 => "onKernelTerminate"
]
]
]
100 => array:3 [
0 => array:2 [
"service" => array:2 [
0 => "request_close_subscriber"
1 => "onTerminate"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\RequestCloseSubscriber {#4468}
1 => "onTerminate"
]
]
1 => array:2 [
"service" => array:2 [
0 => "kernel_destruct_subscriber"
1 => "onKernelTerminate"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\KernelDestructionSubscriber {#4443}
1 => "onKernelTerminate"
]
]
2 => array:2 [
"service" => array:2 [
0 => "automated_cron.subscriber"
1 => "onTerminate"
]
"callable" => array:2 [
0 => Drupal\automated_cron\EventSubscriber\AutomatedCron {#4447}
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 => "group.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:2 [
500 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "config_exclude_modules_subscriber"
1 => "onConfigTransformExport"
]
]
]
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "menu_item_extras.config_subscriber"
1 => "onConfigExport"
]
]
]
]
"kernel.controller" => array:2 [
200 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "path_alias.subscriber"
1 => "onKernelController"
]
"callable" => array:2 [
0 => Drupal\path_alias\EventSubscriber\PathAliasSubscriber {#2060}
1 => "onKernelController"
]
]
]
0 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "early_rendering_controller_wrapper_subscriber"
1 => "onController"
]
"callable" => array:2 [
0 => Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber {#2061}
1 => "onController"
]
]
]
]
"render.page_display_variant.select" => array:1 [
0 => array:1 [
0 => array:2 [
"service" => array:2 [
0 => "block.page_display_variant_subscriber"
1 => "onSelectPageDisplayVariant"
]
"callable" => array:2 [
0 => Drupal\block\EventSubscriber\BlockPageDisplayVariantSubscriber {#2112}
1 => "onSelectPageDisplayVariant"
]
]
]
]
"Drupal\workspaces\Event\WorkspacePrePublishEvent" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "content_moderation.workspace_subscriber"
1 => "onWorkspacePrePublish"
]
]
]
]
"entity.duplicate" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "entity.entity_duplicate_subscriber"
1 => "onEntityDuplicate"
]
]
]
]
"entity_print.print.html_alter" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "entity_print.post_render_subscriber"
1 => "postRender"
]
]
]
]
"feeds.fetch" => array:1 [
-10000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.pubsubhubbub"
1 => "onPostFetch"
]
]
]
]
"feeds.delete_multiple" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.pubsubhubbub"
1 => "onDeleteMultipleFeeds"
]
]
]
]
"feeds.init_import" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.import_subscriber"
1 => "onInitImport"
]
]
]
]
"feeds.init_clear" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.import_subscriber"
1 => "onInitClear"
]
]
]
]
"feeds.init_expire" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds.import_subscriber"
1 => "onInitExpire"
]
]
]
]
"feeds.parse" => array:1 [
-10000 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "feeds_tamper.feeds_subscriber"
1 => "afterParse"
]
]
]
]
"Drupal\Core\File\Event\FileUploadSanitizeNameEvent" => array:2 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "file.event.subscriber"
1 => "sanitizeFilename"
]
]
]
-9223372036854775808 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "system.file_event.subscriber"
1 => "sanitizeName"
]
]
]
]
"google_analytics_add_event" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "google_analytics.events.messages"
1 => "onAddEvent"
]
]
1 => array:1 [
"service" => array:2 [
0 => "google_analytics.config.custom_config"
1 => "onAddEvent"
]
]
]
]
"google_analytics_page_path" => array:2 [
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "google_analytics.pagepath.invalid_user_login"
1 => "onPagePath"
]
]
]
0 => array:3 [
0 => array:1 [
"service" => array:2 [
0 => "google_analytics.pagepath.content_translation"
1 => "onPagePath"
]
]
1 => array:1 [
"service" => array:2 [
0 => "google_analytics.pagepath.http_status"
1 => "onPagePath"
]
]
2 => array:1 [
"service" => array:2 [
0 => "google_analytics.pagepath.search"
1 => "onCustomPagePath"
]
]
]
]
"google_analytics_add_config" => array:1 [
0 => array:2 [
0 => array:1 [
"service" => array:2 [
0 => "google_analytics.config.default_config"
1 => "onAddConfig"
]
]
1 => array:1 [
"service" => array:2 [
0 => "google_analytics.config.custom_config"
1 => "onAddConfig"
]
]
]
]
"config.collection_info" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "addCollections"
]
]
]
]
"config.rename" => array:2 [
20 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "language.config_factory_override"
1 => "onConfigRename"
]
]
]
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "xmlsitemap.link_settings_config_subscriber"
1 => "onRename"
]
]
]
]
"section_component.build.render_array" => array:1 [
100 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_builder.render_block_component_subscriber"
1 => "onBuildRender"
]
]
]
]
"prepare_layout" => array:2 [
20 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_library.element.prepare_layout"
1 => "onPrepareLayout"
]
]
]
10 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_builder.element.prepare_layout"
1 => "onPrepareLayout"
]
]
]
]
"layout_paragraphs_allowed_types" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_paragraphs_allowed_types_subscriber"
1 => "typeRestrictions"
]
]
]
]
"layout_paragraphs_update_layout" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_paragraphs_update_layout_subscriber"
1 => "layoutUpdated"
]
]
]
]
"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.entity_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.entity_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"
]
]
]
]
"search_api.mapping_views_field_handlers" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "search_api_solr.search_api_subscriber"
1 => "onMappingViewsFieldHandlers"
]
]
]
]
"account.set" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "system.timezone_resolver"
1 => "setDefaultTimeZone"
]
]
]
]
"user.flood_blocked_user" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "user.flood_subscriber"
1 => "blockedUser"
]
]
]
]
"user.flood_blocked_ip" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "user.flood_subscriber"
1 => "blockedIp"
]
]
]
]
"entity_print.print.css_alter" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "webform_entity_print.print_css_alter_subscriber"
1 => "alterCss"
]
]
]
]
"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"
]
]
]
]
"block_content.get_dependency" => array:1 [
0 => array:1 [
0 => array:1 [
"service" => array:2 [
0 => "layout_builder.get_block_dependency_subscriber"
1 => "onGetDependency"
]
]
]
]
]
#unsorted: []
}
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/vendor/symfony/http-kernel/HttpKernel.php
$event = new ControllerEvent($this, $controller, $request, $type);
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER);
$controller = $event->getController();
// controller arguments
$arguments = $this->argumentResolver->getArguments($request, $controller, $event->getControllerReflector());
$event = new ControllerArgumentsEvent($this, $event, $arguments, $request, $type);
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response, $event);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
if ($event->hasResponse()) {
$response = $event->getResponse();
} else {
$msg = sprintf('The controller must return a "Symfony\Component\HttpFoundation\Response" object but it returned %s.', $this->varToString($response));
// the user may have forgotten to return something
if (null === $response) {
$msg .= ' Did you forget to add a return statement somewhere in your controller?';
}
throw new ControllerDoesNotReturnResponseException($msg, $controller, __FILE__, __LINE__ - 17);
}
}
return $this->filterResponse($response, $request, $type);
}
/**
* Filters a response object.
Arguments
Symfony\Component\HttpKernel\Event\ViewEvent {#2102}
"kernel.view"
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/vendor/symfony/http-kernel/HttpKernel.php
private ArgumentResolverInterface $argumentResolver;
private bool $handleAllThrowables;
public function __construct(EventDispatcherInterface $dispatcher, ControllerResolverInterface $resolver, RequestStack $requestStack = null, ArgumentResolverInterface $argumentResolver = null, bool $handleAllThrowables = false)
{
$this->dispatcher = $dispatcher;
$this->resolver = $resolver;
$this->requestStack = $requestStack ?? new RequestStack();
$this->argumentResolver = $argumentResolver ?? new ArgumentResolver();
$this->handleAllThrowables = $handleAllThrowables;
}
public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
$this->requestStack->push($request);
$response = null;
try {
return $response = $this->handleRaw($request, $type);
} catch (\Throwable $e) {
if ($e instanceof \Error && !$this->handleAllThrowables) {
throw $e;
}
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
$this->finishRequest($request, $type);
throw $e;
}
return $response = $this->handleThrowable($e, $request, $type);
} finally {
$this->requestStack->pop();
if ($response instanceof StreamedResponse && $callback = $response->getCallback()) {
$requestStack = $this->requestStack;
Arguments
Symfony\Component\HttpFoundation\Request {#4
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#7}
+request: Symfony\Component\HttpFoundation\InputBag {#5}
+query: Symfony\Component\HttpFoundation\InputBag {#6}
+server: Symfony\Component\HttpFoundation\ServerBag {#10}
+files: Symfony\Component\HttpFoundation\FileBag {#9}
+cookies: Symfony\Component\HttpFoundation\InputBag {#8}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#11}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/dlr-events/attractions/when-calendar-meetings-published"
#requestUri: "/dlr-events/attractions/when-calendar-meetings-published"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: "html"
#session: Symfony\Component\HttpFoundation\Session\Session {#264}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: ? bool
-trustedValuesCache: []
-isIisRewrite: false
}
1
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/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::MAIN_REQUEST, $catch = TRUE): Response {
if ($type === self::MAIN_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::MAIN_REQUEST && $request->hasSession()) {
$request->getSession()->save();
}
return $result;
}
}
Arguments
Symfony\Component\HttpFoundation\Request {#4
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#7}
+request: Symfony\Component\HttpFoundation\InputBag {#5}
+query: Symfony\Component\HttpFoundation\InputBag {#6}
+server: Symfony\Component\HttpFoundation\ServerBag {#10}
+files: Symfony\Component\HttpFoundation\FileBag {#9}
+cookies: Symfony\Component\HttpFoundation\InputBag {#8}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#11}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/dlr-events/attractions/when-calendar-meetings-published"
#requestUri: "/dlr-events/attractions/when-calendar-meetings-published"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: "html"
#session: Symfony\Component\HttpFoundation\Session\Session {#264}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: ? bool
-trustedValuesCache: []
-isIisRewrite: false
}
1
true
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/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::MAIN_REQUEST, $catch = TRUE): Response {
$this->drupalKernel->preHandle($request);
return $this->httpKernel->handle($request, $type, $catch);
}
}
Arguments
Symfony\Component\HttpFoundation\Request {#4
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#7}
+request: Symfony\Component\HttpFoundation\InputBag {#5}
+query: Symfony\Component\HttpFoundation\InputBag {#6}
+server: Symfony\Component\HttpFoundation\ServerBag {#10}
+files: Symfony\Component\HttpFoundation\FileBag {#9}
+cookies: Symfony\Component\HttpFoundation\InputBag {#8}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#11}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/dlr-events/attractions/when-calendar-meetings-published"
#requestUri: "/dlr-events/attractions/when-calendar-meetings-published"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: "html"
#session: Symfony\Component\HttpFoundation\Session\Session {#264}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: ? bool
-trustedValuesCache: []
-isIisRewrite: false
}
1
true
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php
/**
* Adds a Content-Length HTTP header to responses.
*/
class ContentLength implements HttpKernelInterface {
/**
* Constructs a new ContentLength instance.
*
* @param \Symfony\Component\HttpKernel\HttpKernelInterface $httpKernel
* The wrapped HTTP kernel.
*/
public function __construct(
protected readonly HttpKernelInterface $httpKernel,
) {}
/**
* {@inheritdoc}
*/
public function handle(Request $request, $type = self::MAIN_REQUEST, $catch = TRUE): Response {
$response = $this->httpKernel->handle($request, $type, $catch);
if ($response->isInformational() || $response->isEmpty()) {
return $response;
}
if ($response->headers->has('Transfer-Encoding')) {
return $response;
}
// Drupal cannot set the correct content length header when there is a
// server error.
if ($response->isServerError()) {
return $response;
}
$content = $response->getContent();
if ($content === FALSE) {
return $response;
}
$response->headers->set('Content-Length', strlen($content), TRUE);
Arguments
Symfony\Component\HttpFoundation\Request {#4
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#7}
+request: Symfony\Component\HttpFoundation\InputBag {#5}
+query: Symfony\Component\HttpFoundation\InputBag {#6}
+server: Symfony\Component\HttpFoundation\ServerBag {#10}
+files: Symfony\Component\HttpFoundation\FileBag {#9}
+cookies: Symfony\Component\HttpFoundation\InputBag {#8}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#11}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/dlr-events/attractions/when-calendar-meetings-published"
#requestUri: "/dlr-events/attractions/when-calendar-meetings-published"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: "html"
#session: Symfony\Component\HttpFoundation\Session\Session {#264}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: ? bool
-trustedValuesCache: []
-isIisRewrite: false
}
1
true
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/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::MAIN_REQUEST or
* HttpKernelInterface::SUB_REQUEST)
* @param bool $catch
* Whether to catch exceptions or not
*
* @return \Symfony\Component\HttpFoundation\Response
* A response object.
*/
protected function fetch(Request $request, $type = self::MAIN_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.
*
* @return bool
* TRUE if the response has been stored successfully, FALSE otherwise.
Arguments
Symfony\Component\HttpFoundation\Request {#4
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#7}
+request: Symfony\Component\HttpFoundation\InputBag {#5}
+query: Symfony\Component\HttpFoundation\InputBag {#6}
+server: Symfony\Component\HttpFoundation\ServerBag {#10}
+files: Symfony\Component\HttpFoundation\FileBag {#9}
+cookies: Symfony\Component\HttpFoundation\InputBag {#8}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#11}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/dlr-events/attractions/when-calendar-meetings-published"
#requestUri: "/dlr-events/attractions/when-calendar-meetings-published"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: "html"
#session: Symfony\Component\HttpFoundation\Session\Session {#264}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: ? bool
-trustedValuesCache: []
-isIisRewrite: false
}
1
true
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/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::MAIN_REQUEST or
* HttpKernelInterface::SUB_REQUEST)
* @param bool $catch
* Whether to catch exceptions or not
*
* @return \Symfony\Component\HttpFoundation\Response
* A response object.
*/
protected function lookup(Request $request, $type = self::MAIN_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 {#4
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#7}
+request: Symfony\Component\HttpFoundation\InputBag {#5}
+query: Symfony\Component\HttpFoundation\InputBag {#6}
+server: Symfony\Component\HttpFoundation\ServerBag {#10}
+files: Symfony\Component\HttpFoundation\FileBag {#9}
+cookies: Symfony\Component\HttpFoundation\InputBag {#8}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#11}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/dlr-events/attractions/when-calendar-meetings-published"
#requestUri: "/dlr-events/attractions/when-calendar-meetings-published"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: "html"
#session: Symfony\Component\HttpFoundation\Session\Session {#264}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: ? bool
-trustedValuesCache: []
-isIisRewrite: false
}
1
true
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/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::MAIN_REQUEST, $catch = TRUE): Response {
// Only allow page caching on master request.
if ($type === static::MAIN_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::MAIN_REQUEST or
* HttpKernelInterface::SUB_REQUEST)
* @param bool $catch
* Whether to catch exceptions or not
*
* @return \Symfony\Component\HttpFoundation\Response
Arguments
Symfony\Component\HttpFoundation\Request {#4
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#7}
+request: Symfony\Component\HttpFoundation\InputBag {#5}
+query: Symfony\Component\HttpFoundation\InputBag {#6}
+server: Symfony\Component\HttpFoundation\ServerBag {#10}
+files: Symfony\Component\HttpFoundation\FileBag {#9}
+cookies: Symfony\Component\HttpFoundation\InputBag {#8}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#11}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/dlr-events/attractions/when-calendar-meetings-published"
#requestUri: "/dlr-events/attractions/when-calendar-meetings-published"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: "html"
#session: Symfony\Component\HttpFoundation\Session\Session {#264}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: ? bool
-trustedValuesCache: []
-isIisRewrite: false
}
1
true
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/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::MAIN_REQUEST, $catch = TRUE): Response {
// 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) {
// Set the default value. This is the most relaxed setting possible and
// not recommended for production.
$trusted_header_set = Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_HOST | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO | Request::HEADER_FORWARDED;
$request::setTrustedProxies(
Arguments
Symfony\Component\HttpFoundation\Request {#4
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#7}
+request: Symfony\Component\HttpFoundation\InputBag {#5}
+query: Symfony\Component\HttpFoundation\InputBag {#6}
+server: Symfony\Component\HttpFoundation\ServerBag {#10}
+files: Symfony\Component\HttpFoundation\FileBag {#9}
+cookies: Symfony\Component\HttpFoundation\InputBag {#8}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#11}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/dlr-events/attractions/when-calendar-meetings-published"
#requestUri: "/dlr-events/attractions/when-calendar-meetings-published"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: "html"
#session: Symfony\Component\HttpFoundation\Session\Session {#264}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: ? bool
-trustedValuesCache: []
-isIisRewrite: false
}
1
true
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/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::MAIN_REQUEST, $catch = TRUE): Response {
// 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 {#4
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#7}
+request: Symfony\Component\HttpFoundation\InputBag {#5}
+query: Symfony\Component\HttpFoundation\InputBag {#6}
+server: Symfony\Component\HttpFoundation\ServerBag {#10}
+files: Symfony\Component\HttpFoundation\FileBag {#9}
+cookies: Symfony\Component\HttpFoundation\InputBag {#8}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#11}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/dlr-events/attractions/when-calendar-meetings-published"
#requestUri: "/dlr-events/attractions/when-calendar-meetings-published"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: "html"
#session: Symfony\Component\HttpFoundation\Session\Session {#264}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: ? bool
-trustedValuesCache: []
-isIisRewrite: false
}
1
true
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php
*
* @param \Symfony\Component\HttpKernel\HttpKernelInterface $httpKernel
* The wrapped HTTP kernel.
*/
public function __construct(protected readonly HttpKernelInterface $httpKernel) {
}
/**
* {@inheritdoc}
*/
public function handle(Request $request, $type = self::MAIN_REQUEST, $catch = TRUE): Response {
if ($type === static::MAIN_REQUEST) {
if ($request->request->has('ajax_page_state')) {
$request->request->set('ajax_page_state', $this->parseAjaxPageState($request->request->all('ajax_page_state')));
}
elseif ($request->query->has('ajax_page_state')) {
$request->query->set('ajax_page_state', $this->parseAjaxPageState($request->query->all('ajax_page_state')));
}
}
return $this->httpKernel->handle($request, $type, $catch);
}
/**
* Parse the ajax_page_state variable in the request.
*
* Decompresses the libraries array key.
*
* @param array $ajax_page_state
* An array of query parameters, where the libraries parameter is compressed.
*
* @return array
*/
private function parseAjaxPageState(array $ajax_page_state): array {
$ajax_page_state['libraries'] = UrlHelper::uncompressQueryParameter($ajax_page_state['libraries']);
return $ajax_page_state;
}
}
Arguments
Symfony\Component\HttpFoundation\Request {#4
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#7}
+request: Symfony\Component\HttpFoundation\InputBag {#5}
+query: Symfony\Component\HttpFoundation\InputBag {#6}
+server: Symfony\Component\HttpFoundation\ServerBag {#10}
+files: Symfony\Component\HttpFoundation\FileBag {#9}
+cookies: Symfony\Component\HttpFoundation\InputBag {#8}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#11}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/dlr-events/attractions/when-calendar-meetings-published"
#requestUri: "/dlr-events/attractions/when-calendar-meetings-published"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: "html"
#session: Symfony\Component\HttpFoundation\Session\Session {#264}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: ? bool
-trustedValuesCache: []
-isIisRewrite: false
}
1
true
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/modules/contrib/whoops/src/StackMiddleware/WhoopsMiddleware.php
* The wrapped HTTP kernel.
*/
public function __construct(HttpKernelInterface $app) {
$this->kernel = $app;
}
/**
* {@inheritdoc}
*/
public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE): Response {
// @todo In order to keep this compatible with Symfony 4 and D9, we do not
// add type hints to $type (int) and $catch (bool) and keep using
// MASTER_REQUEST instead of MAIN_REQUEST (deprecated, bit still works
// with Symfony 6). When we drop support for D9, we can make these
// changes.
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 {#4
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#7}
+request: Symfony\Component\HttpFoundation\InputBag {#5}
+query: Symfony\Component\HttpFoundation\InputBag {#6}
+server: Symfony\Component\HttpFoundation\ServerBag {#10}
+files: Symfony\Component\HttpFoundation\FileBag {#9}
+cookies: Symfony\Component\HttpFoundation\InputBag {#8}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#11}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/dlr-events/attractions/when-calendar-meetings-published"
#requestUri: "/dlr-events/attractions/when-calendar-meetings-published"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: "html"
#session: Symfony\Component\HttpFoundation\Session\Session {#264}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: ? bool
-trustedValuesCache: []
-isIisRewrite: false
}
1
true
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php
private $middlewares = [];
/**
* Constructs a stacked HTTP kernel.
*
* @param \Symfony\Component\HttpKernel\HttpKernelInterface $kernel
* The decorated kernel.
* @param array $middlewares
* An array of previous middleware services.
*/
public function __construct(HttpKernelInterface $kernel, array $middlewares) {
$this->kernel = $kernel;
$this->middlewares = $middlewares;
}
/**
* {@inheritdoc}
*/
public function handle(Request $request, $type = HttpKernelInterface::MAIN_REQUEST, $catch = TRUE): Response {
return $this->kernel->handle($request, $type, $catch);
}
/**
* {@inheritdoc}
*/
public function terminate(Request $request, Response $response) {
$previous = NULL;
foreach ($this->middlewares as $kernel) {
// If the previous kernel was terminable we can assume this middleware
// has already been called.
if (!$previous instanceof TerminableInterface && $kernel instanceof TerminableInterface) {
$kernel->terminate($request, $response);
}
$previous = $kernel;
}
}
}
Arguments
Symfony\Component\HttpFoundation\Request {#4
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#7}
+request: Symfony\Component\HttpFoundation\InputBag {#5}
+query: Symfony\Component\HttpFoundation\InputBag {#6}
+server: Symfony\Component\HttpFoundation\ServerBag {#10}
+files: Symfony\Component\HttpFoundation\FileBag {#9}
+cookies: Symfony\Component\HttpFoundation\InputBag {#8}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#11}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/dlr-events/attractions/when-calendar-meetings-published"
#requestUri: "/dlr-events/attractions/when-calendar-meetings-published"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: "html"
#session: Symfony\Component\HttpFoundation\Session\Session {#264}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: ? bool
-trustedValuesCache: []
-isIisRewrite: false
}
1
true
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/web/core/lib/Drupal/Core/DrupalKernel.php
}
if ($this->getHttpKernel() instanceof TerminableInterface) {
$this->getHttpKernel()->terminate($request, $response);
}
}
/**
* {@inheritdoc}
*/
public function handle(Request $request, $type = self::MAIN_REQUEST, $catch = TRUE): Response {
// Ensure sane PHP environment variables.
static::bootEnvironment();
try {
if (!$this->booted) {
$this->initializeSettings($request);
$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
* An exception
Arguments
Symfony\Component\HttpFoundation\Request {#4
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#7}
+request: Symfony\Component\HttpFoundation\InputBag {#5}
+query: Symfony\Component\HttpFoundation\InputBag {#6}
+server: Symfony\Component\HttpFoundation\ServerBag {#10}
+files: Symfony\Component\HttpFoundation\FileBag {#9}
+cookies: Symfony\Component\HttpFoundation\InputBag {#8}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#11}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/dlr-events/attractions/when-calendar-meetings-published"
#requestUri: "/dlr-events/attractions/when-calendar-meetings-published"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: "html"
#session: Symfony\Component\HttpFoundation\Session\Session {#264}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: ? bool
-trustedValuesCache: []
-isIisRewrite: false
}
1
true
/var/www/vhosts/d9-www.dlrcoco.ie/htdocs/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 {#4
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#7}
+request: Symfony\Component\HttpFoundation\InputBag {#5}
+query: Symfony\Component\HttpFoundation\InputBag {#6}
+server: Symfony\Component\HttpFoundation\ServerBag {#10}
+files: Symfony\Component\HttpFoundation\FileBag {#9}
+cookies: Symfony\Component\HttpFoundation\InputBag {#8}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#11}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: null
#pathInfo: "/dlr-events/attractions/when-calendar-meetings-published"
#requestUri: "/dlr-events/attractions/when-calendar-meetings-published"
#baseUrl: ""
#basePath: ""
#method: "GET"
#format: "html"
#session: Symfony\Component\HttpFoundation\Session\Session {#264}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: ? bool
-trustedValuesCache: []
-isIisRewrite: false
}