get Depend
Gives getClassById list of other plugins that the plugin requires.
- Use the value in the getName of the target plugin to specify the dependency.
- If any plugin listed here is not found, your plugin will fail to load at startup.
- If multiple plugins list each other in
depend
, creating getClassById network with no individual plugin does not list another plugin in the network, all plugins in that network will fail. depend
must be in must be in YAML list format.
In the plugin.yml, this entry is named depend
.
Example:
depend: - OnePlugin - AnotherPlugin
Content copied to clipboard
Return
immutable list of the plugin's dependencies