Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Move Plugin getInformation() function call to piwik.plugin.json file #4054

Closed
mattab opened this Issue · 1 comment

1 participant

Matthieu Aubry
Matthieu Aubry
Owner

In order to keep plugin class minimal, we propose to put the plugin metadata in a piwik.plugin.json file.

The file is required for third party plugins. The file will be tested on the Plugin Marketplace #4053 when a new release is published (checked against schema / sanity checks)

The file is not required for Core Plugins (bundled with Piwik) since the only attribute that changes between all plugins is the description. The description is automatically loaded by reading the translation key $name_PluginDescription eg. "DBStats_PluginDescription" for the plugin DBStats.

Matthieu Aubry
Owner

In f4b9656: Refs #4054

  • Removing PluginDescription from core en.php files, for all Example* plugins (to showcase the JSON file in the Example plugin)
Matthieu Aubry mattab added this to the 2.0 - Piwik 2.0 milestone
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Matthieu Aubry mattab Refs #4054
 * Removing PluginDescription from core en.php files, for all Example* plugins (to showcase the JSON file in the Example plugin)
f4b9656
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.