- Fatal errors when Config is called in early bootstrap.
- Drupal\Core\Config\Config calls into
drupal_array_*()functions, which are declared in common.inc.
Proposed solution A
- Fork/embed the
Proposed solution B
drupal_array_*()functions into static class methods of
Drupal\Core\Utility\NestedArrayand make the procedural wrappers call into them.
(could actually live in
- Bikeshed the class name ;)
NestedArray— as direct equivalent of
ArrayHelper— since it contains the
array_merge_deep*helper functions, too.
DrupalArray— ... (duplicates the Drupal in the namespace though)
Note: "array" itself is a reserved keyword, so it always has to be prefixed/suffixed with something.
Proposed solution C
- Just move all the