Skip to content
Brian Spencer edited this page Jun 10, 2017 · 19 revisions

The framework includes a number of helpers in the levure/framework/helpers folder that you can use in your application. You should not modify the framework helpers. They will be updated to the latest versions whenever you update Levure in your project folder.

How to load a framework helper

To load a framework helper use the FRAMEWORK variable in app.yml.

For example, this entry in app.yml will load the preferences framework helper:

helpers:
  - filename: "[[FRAMEWORK]]/helpers/preferences"

Any helper included with the framework automatically has its preload flag set to true. That means the helper will be loaded before the PreloadApplication message is sent to the app stack.

Clone this wiki locally