Skip to content

Make condition helpers configurable

Description

Condition helpers should be configurable so custom helpers can be registered

Use-Cases

  • The variable $cfg['modules'][ COMMANDS_MODULE_NAME ]['helpers'] contains an array where all condition helpers are defined
  • The helpers are defined by "KEY" => [ \Vendor\ConditionHelper\Helper::class, 'method' ]
  • When used, the configured helper is called

Todo

  • Wiki updated