class config extends Twig_Extension

Properties

protected config $config

Methods

__construct(config $config)

Constructor.

string
getName()

Get the name of this extension

array
getFunctions()

Returns a list of global functions to add to the existing list.

string
get_config()

Retrieves a configuration value for use in templates.

Details

at line 26
__construct(config $config)

Constructor.

Parameters

config $config

Configuration object

at line 36
string getName()

Get the name of this extension

Return Value

string

at line 46
array getFunctions()

Returns a list of global functions to add to the existing list.

Return Value

array

An array of global functions

at line 58
string get_config()

Retrieves a configuration value for use in templates.

Return Value

string

The configuration value