Abandon "yaml_parser" as functionality is available in Drupal Core

Created on 21 December 2024, about 1 month ago

Problem/Motivation

Drupal Core ships with Yaml Class which can be used to perform the Yaml decoding. Hence this module is not needed anymore.

Proposed resolution

Before

$decoded_string = yaml_parser_parse_string('yaml: string');

After

$decoded_string = Yaml::decode(file_get_contents('/path/to/file.yml'));

Before

$decoded_string = yaml_parser_parse_file('/path/to/file.yml');

After

$decoded_string = Yaml::decode(file_get_contents('/path/to/file.yml'));
🌱 Plan
Status

Active

Version

1.0

Component

Documentation

Created by

🇩🇪Germany D34dMan Hamburg

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

Comments & Activities

Production build 0.71.5 2024