From d4e3234263214ecf0b7e95812c310c88cf06cfef Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen.haas@lakedrops.com> Date: Thu, 13 Feb 2025 08:57:30 +0000 Subject: [PATCH] Feature/eca set field value --- .../plugins/eca_content/action/eca_set_field_value/method.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/plugins/eca_content/action/eca_set_field_value/method.md b/include/plugins/eca_content/action/eca_set_field_value/method.md index 7ab0cc3a..b1a967f4 100644 --- a/include/plugins/eca_content/action/eca_set_field_value/method.md +++ b/include/plugins/eca_content/action/eca_set_field_value/method.md @@ -8,4 +8,4 @@ Available options: - **Prepend when not full yet**: If the field allows multiple values, the given value will be inserted as the first item, if the max. cardinality is not reached yet. Otherwise, this action will be skipped. - **Prepend and drop first when full**: Same as above, but if the max cardinality has been reached, the first value will be removed and the new value inserted at the beginning to the list. - **Prepend and drop last when full**: Same as above, but instead of dropping the first, this will drop the last item before inserting the new value at the beginning of the list. -- **Remove value instead of adding it**: Remove the value from a multi-value field, if it's caontained in the list of existing items. +- **Remove value instead of adding it**: Remove the value from a field, if it's contained in the list of existing items. If this removes the last remaining value of the field, then the field will be empty (for an example of this, see [this issue](https://www.drupal.org/project/eca/issues/3504388)). -- GitLab