ECA Render: use token for render link fails

Issue information

From user: jurgenhaas

Related to !419 (merged)

Contribution record

Fork management

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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information