https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30410

--- Comment #5 from David Cook <[email protected]> ---
(In reply to Tomás Cohen Arazi from comment #4)
> There's a clear example in the patches.
> Thanks

My bad. I had already read the main patch but not the unit tests patch. I
should've thought to look there, although I didn't think the example was that
clear. I had to re-read it a few times.

I suppose the plugin's "name" isn't usable since it's human-friendly and not
machine friendly. 

A default method inherited from Koha::Plugins::Base that does something like
this might be useful:

sub namespace {
  my $namespace = lc(__PACKAGE__);
  $namespace =~ s/::/_/g
  return $namespace
}

I suppose free text and auto-generated both have their pros and cons...

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to