ECA Render: use token for render link fails
Problem/Motivation
When trying to store a link render array from the \Drupal\eca_render\Plugin\Action\Link action plugin, DataTransferObject is throwing an exception because the render array contains a URL object which is not allowed in line 297 of \Drupal\eca\Plugin\DataType\DataTransferObject::setValue where it throws this exception:
<?php
throw new \InvalidArgumentException("Invalid values given. Values must be of scalar types, entities or typed data objects.");
?>
Not sure, if other render arrays may have similar issues. So far, I haven't found any.
Edited by drupalbot