Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mattab opened this issue Jul 15, 2013 · 1 comment
Closed

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

mattab opened this issue Jul 15, 2013 · 1 comment
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Jul 15, 2013

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.

@mattab
Copy link
Member Author

mattab commented Jul 15, 2013

In f4b9656: Refs #4054

  • Removing PluginDescription from core en.php files, for all Example* plugins (to showcase the JSON file in the Example plugin)

@mattab mattab added this to the 2.0 - Piwik 2.0 milestone Jul 8, 2014
sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
 * Removing PluginDescription from core en.php files, for all Example* plugins (to showcase the JSON file in the Example plugin)
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

1 participant