edalzell/variable

This package is abandoned and no longer maintained. No replacement package was suggested.

Set variables in Antlers

v1.0.4 2021-04-14 04:32 UTC

This package is auto-updated.

Last update: 2022-10-04 22:46:34 UTC


README

Get and set variables in Antlers

Install

From your site folder, run composer require edalzell/variable

Usage

To set a variable, pass in a value:

{{ variable:var_to_set :value="in_scope_variable "}}

To get it:

{{ variable:var_to_set default="default value" }}