- Nov 08, 2024
-
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
My broad intention is to allow the site builder partially declare some config values they want but which might already exist (so cannot just be deployed via config/install/settingname.yml). For the case of list data types, overwriting the list rather than appending to it seems most appropriate: otherwise, each config merge will lead to the entire set of list values being re-appended. I think cases where you want to append to an existing list ore best dealt with in PHP by just loading the appropriate config key and manipulating it. Also adding a dependency on php >= 8.1.0 due to use of array_is_list().
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
I'm not sure why I used prepareDirectory() here. I think the intention was to check if the dir exists, given the codw flow, and prepareDirectory() is not behaving inside phpunit.
-
- Jun 03, 2024
-
-
Dr Adam Thorn authored
Add support for creating fields See merge request !1
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
Ensures array values are sorted before comparision. For these tests, the order of array elements is not relevant.
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
-
- Jan 23, 2024
-
-
Dr Adam Thorn authored
-
- Jan 17, 2024
-
-
Dr Adam Thorn authored
I had written these tests as if the merge would replace the old array with the new array. But we are using https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Component%21Utility%21NestedArray.php/function/NestedArray%3A%3AmergeDeep/8.6.x which, when it encounters two arrays, will merge the array values. I still need to document the behaviour of this module in a README ...
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
- specify data types - give test data sets useful names - yield test data to simplify nested array structure
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
Given that everything else in ./config is used by Drupal core, having our config live outside of that is probably a good idea.
-
- Jan 16, 2024
-
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
-
Dr Adam Thorn authored
-