Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
demeritcowboy committed Nov 17, 2024
1 parent 9738ccc commit 7b74791
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
fail-fast: false
matrix:
include:
- drupal: '10.2.*'
civicrm: 'dev-master'
php: '8.3'
- drupal: '10.3.*'
civicrm: 'dev-master'
php: '8.3'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -610,8 +610,8 @@ public function testNextPrevSaveLoad() {

// Place fields for each contact on their own page and enable saving drafts
$webform = Webform::load($this->webform->getOriginalId());
$this->htmlOutput('raw elements is ' . var_export($webform->get('elements'), true));
$elements = Yaml::decode($webform->get('elements'));
$this->htmlOutput('id is ' . $this->webform->getOriginalId() . ' raw elements is ' . var_export($webform->get('elements'), true) . ' elements is ' . var_export($elements, true));
$elements_new = [
'page1' => ['#type' => 'webform_wizard_page', '#title' => 'Page 1', 'civicrm_1_contact_1_fieldset_fieldset' => $elements["civicrm_1_contact_1_fieldset_fieldset"]],
'page2' => ['#type' => 'webform_wizard_page', '#title' => 'Page 2', 'civicrm_2_contact_1_fieldset_fieldset' => $elements["civicrm_2_contact_1_fieldset_fieldset"]],
Expand Down

0 comments on commit 7b74791

Please sign in to comment.