PluginsDependance

Usage

 * Activate a plugin if another plugin is activated
 * Disallow deactivation of a plugin if another plugin depend

Example

 * maintenanceMode need renderMessage

Usage

 * BeforeTokenEmail plugin can send email before another BeforeTokenEmail update body (for example) or send a email
 * afterSurveySubmited can have same issue

Example
Need 2 plugin, but
 * noMailToExample can be disable if another plugin send the email (and here : beforeTokenEmail need a stop to disallow sending an email 2 times (plugin issue ?)

Remark

 * A plugin can force to be first and broke all other BeforeTokenEmail plugin : but it's the plugin issue, not LS issue.
 * A plugin can already use App->end in any other event and choose to be first or not

Mantis

 * https://bugs.limesurvey.org/view.php?id=12127 (this topic)