Function fm_get_context
Get the context for triggers and pattern matching.
This function is crucial for performance. It prevents the unnecessary initialization of FM classes, and the unnecessary loading of CSS and JavaScript.
Package: Fieldmanager
See: fm_calculate_context() for detail about the returned array values.
Located at fieldmanager.php
See: fm_calculate_context() for detail about the returned array values.
Located at fieldmanager.php
Parameters summary
boolean |
$recalculate = false |
Optional. If true, FM will recalculate the current context. This is necessary for testing and perhaps other programmatic purposes. |
Return value summary
array
|
Contextual information for the current request. |