Système de Hooks: Difference between revisions

Jump to navigation Jump to search
m
Correction de la syntaxe déclarative.
m (Updating interlang links (links to translated versions of this page in other languages) triggered by origin English page "Hooks_system" update.)
m (Correction de la syntaxe déclarative.)
Tag: 2017 source edit
 
Line 81: Line 81:
<syntaxhighlight lang="PHP">
<syntaxhighlight lang="PHP">
$this->module_parts = array(
$this->module_parts = array(
'hooks' => array('hookcontext1','hookcontext2') // Set here all hooks context you want to support
    'hooks' => array(
        'data' => array(
            'hookcontext1',
            'hookcontext2',
        ),
        'entity' => '0',
    ),
);
);
</syntaxhighlight>
</syntaxhighlight>
51

edits

Navigation menu