ArrayHtml - Change text node format from string to array
authorColeman Watts <coleman@civicrm.org>
Wed, 30 Oct 2019 20:53:19 +0000 (16:53 -0400)
committerCiviCRM <info@civicrm.org>
Wed, 16 Sep 2020 02:13:19 +0000 (19:13 -0700)
commita0f8a062ac1c7e6704efdda4a19867cc97030352
treee2c65d9e0f2d014d851f9e286d9bacc9486a44b8
parent5fddbe27c0b049725e01981282fa87c715f94d34
ArrayHtml - Change text node format from string to array

Everything in the arrayHtml is associative exept text nodes were just strings.
That made it difficult to loop through the whole thing in javascript, so
this updates the format to be consistent with everything else.
ext/afform/core/CRM/Afform/ArrayHtml.php
ext/afform/mock/tests/phpunit/api/v4/formatExamples/apple.php
ext/afform/mock/tests/phpunit/api/v4/formatExamples/banana.php
ext/afform/mock/tests/phpunit/api/v4/formatExamples/cherry.php
ext/afform/mock/tests/phpunit/api/v4/formatExamples/comments.php
ext/afform/mock/tests/phpunit/api/v4/formatExamples/string.php