|
Lines 28-33
use Koha::Authority::Types;
Link Here
|
| 28 |
use Koha::AuthorisedValueCategories; |
28 |
use Koha::AuthorisedValueCategories; |
| 29 |
use Koha::Filter::MARC::ViewPolicy; |
29 |
use Koha::Filter::MARC::ViewPolicy; |
| 30 |
use Koha::BiblioFrameworks; |
30 |
use Koha::BiblioFrameworks; |
|
|
31 |
use Koha::Plugins; |
| 31 |
|
32 |
|
| 32 |
use List::MoreUtils qw( uniq ); |
33 |
use List::MoreUtils qw( uniq ); |
| 33 |
|
34 |
|
|
Lines 128-134
if ( $op eq 'add_form' ) {
Link Here
|
| 128 |
|
129 |
|
| 129 |
# Add valuebuilders from plugins |
130 |
# Add valuebuilders from plugins |
| 130 |
if ( C4::Context->config("enable_plugins") ) { |
131 |
if ( C4::Context->config("enable_plugins") ) { |
| 131 |
require Koha::Plugins; |
|
|
| 132 |
my $plugins = Koha::Plugins->new(); |
132 |
my $plugins = Koha::Plugins->new(); |
| 133 |
|
133 |
|
| 134 |
# Use the dedicated get_valuebuilders_installed method |
134 |
# Use the dedicated get_valuebuilders_installed method |