container_service_providers can't be extended

Created on 16 January 2017, over 7 years ago
Updated 24 July 2023, 11 months ago

See following code in globals.api.php

/**
 * Allows defining of site-specific service providers for the Drupal kernel.
 *
 * To define a site-specific service provider class, use code like this:
 * @code
 * $GLOBALS['conf']['container_service_providers']['MyClassName'] = 'Drupal\My\Namespace\MyClassName';
 * @endcode
 *
 * @see \Drupal\Core\DrupalKernel::$serviceProviderClasses
 */
global $conf;

Patch attached fixes the problem, but is not a correct solution.

πŸ› Bug report
Status

Closed: outdated

Version

9.5

Component
BootstrapΒ  β†’

Last updated 9 days ago

No maintainer
Created by

πŸ‡§πŸ‡ͺBelgium bceyssens Genk πŸ‡§πŸ‡ͺ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Since there hasn't been a follow up to #13 about a use case going to close for now.

    If still a bug please reopen updating issue summary.

    Thanks all!

Production build 0.69.0 2024