1 package Koha::Plugin::Test;
3 ## It's good practive to use Modern::Perl
6 ## Required for all plugins
7 use base qw(Koha::Plugins::Base);
11 name => 'Test Plugin',
12 author => 'Kyle M Hall',
13 description => 'Test plugin',
14 date_authored => '2013-01-14',
15 date_updated => '2013-01-14',
16 minimum_version => '3.11',
17 maximum_version => undef,
21 ## This is the minimum code required for a plugin's 'new' method
22 ## More can be added, but none should be removed
24 my ( $class, $args ) = @_;
25 $args->{'metadata'} = $metadata;
26 my $self = $class->SUPER::new($args);
31 my ( $self, $args ) = @_;
32 return "Koha::Plugin::Test::report";
36 my ( $self, $args ) = @_;
37 return "Koha::Plugin::Test::tool";
41 my ( $self, $args ) = @_;
42 return "Koha::Plugin::Test::to_marc";
46 my ( $self, $args ) = @_;
47 return "Koha::Plugin::Test::configure";;
51 my ( $self, $args ) = @_;
52 return "Koha::Plugin::Test::install";
56 my ( $self, $args ) = @_;
57 return "Koha::Plugin::Test::uninstall";