ECA Render: Action "Render: unserialize" throws PHP warnings
Problem/Motivation
Whenever a configured action "Render: unserialize" is executed, following warning is logged:
Warning: Undefined array key "use_yaml" in Drupal\eca_render\Plugin\Action\Build->access() (line 55 of /web/modules/contrib/eca/modules/render/src/Plugin/Action/Build.php)
#0 /web/core/includes/bootstrap.inc(166): _drupal_error_handler_real(2, 'Undefined array...', '...', 55)
#1 /web/modules/contrib/eca/modules/render/src/Plugin/Action/Build.php(55): _drupal_error_handler(2, 'Undefined array...', '...', 55)
#2 /web/modules/contrib/eca/src/Entity/Objects/EcaAction.php(103): Drupal\eca_render\Plugin\Action\Build->access(NULL, NULL, true)
#3 /web/modules/contrib/eca/src/Processor.php(298): Drupal\eca\Entity\Objects\EcaAction->execute(Object(Drupal\eca\Entity\Objects\EcaAction), Object(Drupal\eca_form\Event\FormBuild), Array)
#4 /web/modules/contrib/eca/src/Processor.php(300): Drupal\eca\Processor->executeSuccessors(Object(Drupal\eca\Entity\Eca), Object(Drupal\eca\Entity\Objects\EcaAction), Object(Drupal\eca_form\Event\FormBuild), Array)
#5 /web/modules/contrib/eca/src/Processor.php(222): Drupal\eca\Processor->executeSuccessors(Object(Drupal\eca\Entity\Eca), Object(Drupal\eca\Entity\Objects\EcaEvent), Object(Drupal\eca_form\Event\FormBuild), Array)
...
This is happening in ECA 2.1.x.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Edited by drupalbot