From 378d6cf97f1d3e6ae12b9f43b22f538417037934 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Sun, 28 Apr 2013 13:45:32 +0200 Subject: Build plugin info from both package.xml and composer.json files; allow plugins to override the meta info method --- program/lib/Roundcube/rcube_plugin.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'program/lib/Roundcube/rcube_plugin.php') 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 @@ -91,6 +91,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 * -- cgit v1.2.3