- πΊπΈUnited States bradjones1 Digital Nomad Life
The relevant code was removed in π Drop PECL YAML library support in favor of only Symfony YAML Fixed
We have \Drupal\Core\Serialization\Yaml
and \Drupal\Component\Serialization\Yaml
.
The Core
extends the Component
class to add the ability to force via a setting yaml_parser_class
. The problem is that this setting does not affect all yaml parsing. For example, \Drupal\Component\Discovery\YamlDirectoryDiscovery
. This is because YamlDirectoryDiscovery
is a component too and therefore shouldn't depend on core code.
Remove this unnecessary complexity. At the moment if you the PECL Yaml extension installed it will use it unless this setting is set to use the Symfony class. We should not have set-ability in Drupal. The set-ability should just be determined by whether you have the extension or not.
None
Deprecating \Drupal\Core\Serialization\Yaml
in favour of \Drupal\Component\Serialization\Yaml
None
Closed: duplicate
11.0 π₯
base system
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
The relevant code was removed in π Drop PECL YAML library support in favor of only Symfony YAML Fixed