With the Rules module, I collect a list of row (text value) from a view, then iterate the list (variable list_item
) and add this action:
- Create new entity of type xxxx, (variable
entity_created
);
I add a PHP action that extracts a substring from list_item
, convert the substring in a Unix timestamp, and set a field "date" of entity_created
.
The rule create only one entity, and not one entity for each item in list_item
.
Does anybody know how to create one entity for each item in list_item
?