Koha-clms/Koha/Plugins
Tomas Cohen Arazi 6465c6f968 Bug 22834: Add Koha::Plugins::Base->bundle_path
This patch adds a 'bundle_path' method that return the base path for
assets included in the plugin. The idea is that it will be used for
calculation of the absolute path in the filesystem for static content.

To test:
- Apply the unit tests patch
- Run:
  $ kshell
 k$ prove t/db_dependent/Plugins.t
=> FAIL: The method is not implemented
- Apply this patch
- Run:
 k$ prove t/db_dependent/Plugins.t
=> SUCCESS: Tests pass!
- Sign off :-D

Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 0cca2795cd)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2020-02-06 21:15:39 +00:00
..
Base.pm Bug 22834: Add Koha::Plugins::Base->bundle_path 2020-02-06 21:15:39 +00:00
Handler.pm Bug 17935: Follow up for C4::Plugin... 2017-02-14 14:12:51 +00:00