drupal-eca-recipe / eca_lib_0013
Find values in lists
dev-main
2024-08-07 10:59 UTC
Requires
- drupal/core: >=10.3
- drupal/eca: *
- drupal/eca_tamper: *
This package is auto-updated.
Last update: 2024-11-07 11:33:02 UTC
README
ID: eca_lib_0013
This model defines a serialized list with all of the list items being separated by a pipe character from each other. It then defines 5 different values and verfies if they are contained in the list, displaying either a success or failure message.
The comparison requires the pipe character also surounding the values in order to not get false positives, e.g. the value "x" us not an item in the list, whereas "xyz" is.
Installation
composer require drupal-eca-recipe/eca_lib_0013
cd web && php core/scripts/drupal recipe ../vendor/drupal-eca-recipe/eca_lib_0013