1 package App::SCS::Plugin::Core::PagePlugin::RemovePlugin;
5 with 'App::SCS::Role::PagePlugin';
7 has name => (is => 'ro', required => 1);
9 has plugin_map => (is => 'ro', required => 1);
11 has class => (is => 'lazy', builder => sub {
13 $self->plugin_map->{$self->name}{class}
17 my ($self, $plugins) = @_;
18 [ grep !$_->isa($self->class), @$plugins ];