collection_put
Store temporary value in keyed collection
Example
1
{% assign wasUpdated = 'name_of_collection' | collection_put: 'key', 'value' %}
Input
Type | Parameter | Description | Required |
---|---|---|---|
string | collectionName | name of collection. Comes before the | sign. | Required |
string | key | of the value to store | |
mixed | value | Value to store |
Output
Type | Description |
---|---|
bool | If the collection value was updated |