Add extra Config variable.

Re: Add extra Config variable.

by Mark Johnson -
Number of replies: 0
Core developers को तस्बिर Particularly helpful Moodlers को तस्बिर Peer reviewers को तस्बिर Plugin developers को तस्बिर

If you don't specify a plugin name when using set_config, it will store it in the global config, although you risk name collisions with anything else setting config here. You could also set a property of $CFG in config.php.

If you declare a dependency in your plugin's version.php, you could rely on one plugin's config setting from another plugin.

Average of ratings: Useful (1)