Symfony's dependency injection container should allow you to shorthand aliases:
services:
service1: '@service2'
This functionality is broken due to the rewrites in Drupal\Core\Component\DependencyInjection\YamlFileLoader::parseDefinitions() that add a 'provider' tag to a service definition.
Error: Cannot use string offset as an array in Drupal\Core\DependencyInjection\YamlFileLoader->parseDefinitions() (line 123 of core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php).
Verify that the service definition is an array definition, and not a shorthand alias, before attempting to add the 'provider' tag.
Patch attached to this issue.
N/A
N/A, however you are now able to use shorthand aliases in your container YAML's.
N/A
Fixed
9.1
Last updated
Enhances developer experience.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.