Use Drupal states library in Entity: load action.
All threads resolved!
All threads resolved!
Compare changes
@@ -145,6 +145,14 @@ class EntityLoader {
@@ -152,6 +160,14 @@ class EntityLoader {
@@ -166,6 +182,14 @@ class EntityLoader {
'#description' => $this->t('A key-value list of raw field values of the entity to load. This will only be used when loading by properties is selected above. Supports YAML format. Example:<em><br/>field_mynumber: 1</em>. When using tokens and YAML altogether, make sure that tokens are wrapped as a string. Example: <em>title: "[node:title]"</em>'),