diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2013-04-28 13:45:32 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2013-04-28 13:45:32 +0200 |
commit | 378d6cf97f1d3e6ae12b9f43b22f538417037934 (patch) | |
tree | 5f4d93997d60f87d1f2103688ed7874dc97e4ce4 /program/lib/Roundcube/rcube_plugin.php | |
parent | b4d50cb41c4d00333c0c680ae04e44129eff7a31 (diff) |
Build plugin info from both package.xml and composer.json files; allow plugins to override the meta info method
Diffstat (limited to 'program/lib/Roundcube/rcube_plugin.php')
-rw-r--r-- | program/lib/Roundcube/rcube_plugin.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/program/lib/Roundcube/rcube_plugin.php b/program/lib/Roundcube/rcube_plugin.php index 167a9eb4f..d24a2693c 100644 --- a/program/lib/Roundcube/rcube_plugin.php +++ b/program/lib/Roundcube/rcube_plugin.php @@ -92,6 +92,16 @@ abstract class rcube_plugin abstract function init(); /** + * Provide information about this + * + * @return array Meta information about a plugin or false if not implemented + */ + public static function info() + { + return false; + } + + /** * Attempt to load the given plugin which is required for the current plugin * * @param string Plugin name |