1 package Koha::Plugin::Test;
3 ## It's good practice 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,
19 my_example_tag => 'find_me',
22 ## This is the minimum code required for a plugin's 'new' method
23 ## More can be added, but none should be removed
25 my ( $class, $args ) = @_;
26 $args->{'metadata'} = $metadata;
27 my $self = $class->SUPER::new($args);
32 my ( $self, $args ) = @_;
33 return "Koha::Plugin::Test::report";
37 my ( $self, $args ) = @_;
38 return "Koha::Plugin::Test::tool";
42 my ( $self, $args ) = @_;
43 return "Koha::Plugin::Test::to_marc";
47 my ( $self, $args ) = @_;
48 return "Koha::Plugin::Test::configure";;
52 my ( $self, $args ) = @_;
53 return "Koha::Plugin::Test::install";
57 my ( $self, $args ) = @_;
58 return "Koha::Plugin::Test::uninstall";