Validate plugin has redundant code for "replace_tokens" field
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3306135. -->
Reported by: [jurgenhaas](https://www.drupal.org/user/168924)
Related to !221
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>In <code>\Drupal\eca\Entity\Eca::validatePlugin</code> we recognize all boolean fields and check if we have to convert back the yes/no dropdown values to boolean at the beginning. Right afterwards, we separately check for <code>replace_tokens</code> fields and see if we have to convert them as well.</p>
<p>However, we've changed all those fields into checkboxes and therefore they are already covered by the first conversion. We can remove that code block completely.</p>
issue