31,003
edits
Tag: 2017 source edit |
Tag: 2017 source edit |
||
| Line 1,160: | Line 1,160: | ||
=Custom substitution variables= | =Custom substitution variables= | ||
Custom substitution variables can be added by external modules. | Custom substitution variables can be added by external modules. | ||
For this, the external module must embed a file called '''mymodule/core/substitutions/functions_mymodules.lib.php''' and set the | For this, the external module must embed a file called '''mymodule/core/substitutions/functions_mymodules.lib.php''' and set the | ||
<code>->module_parts['substitutions'] = 1 </code> | <code>->module_parts['substitutions'] = 1 </code> | ||
into the module descriptor. | into the module descriptor. | ||