HomeDevCentral

Service provider for helper global functions

Description

Service provider for helper global functions

Summary:
We want to allow Blade templates to use custom global functions.

Directives are not appropriated, as they are too heavily cached,
and don't allow mutable state (the value is substed at first run).

Test Plan:

  • Run tests
  • Tested with an authurl() function in Blade auth templates at D445

Reviewers: dereckson

Differential Revision: http://devcentral.nasqueron.org/D459

Details

Provenance
derecksonAuthored on Jul 4 2016, 00:06
Differential Revision
D459: Service provider for helper global functions
Parents
rGROVE9ead2f147ae5: Configuration test for providers
Branches
Unknown
Tags
Unknown