mirror of
https://github.com/Mibew/button-refresh-plugin.git
synced 2025-01-22 09:30:31 +03:00
Add plugin version
This commit is contained in:
parent
da3f44846f
commit
396aafbce0
10
Plugin.php
10
Plugin.php
@ -77,6 +77,16 @@ class Plugin extends AbstractPlugin implements PluginInterface
|
||||
$dispatcher->attachListener(Events::BUTTON_GENERATE, $this, 'alterButton');
|
||||
}
|
||||
|
||||
/**
|
||||
* Specify version of the plugin.
|
||||
*
|
||||
* @return string Plugin's version.
|
||||
*/
|
||||
public static function getVersion()
|
||||
{
|
||||
return '0.1.0';
|
||||
}
|
||||
|
||||
/**
|
||||
* Specify dependencies of the plugin.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user