DDG::Block::Blockable - Role for plugins that can go into a block
version 1016
This role is for plugins that can go into a plugin. The required functions are given via DDG::Meta::Block, but can also be made in an own implementation.
The class using this role require get_triggers, has_triggers, triggers_block_type and triggers.
Please lookup in DDG::Meta::Block how you have to set them if you want to make your own implementation.
Every blockable plugin requires a block as attribute on creation.
DuckDuckGo <open@duckduckgo.com>
This software is Copyright (c) 2013 by DuckDuckGo, Inc. https://duckduckgo.com/.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install DDG, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DDG
CPAN shell
perl -MCPAN -e shell install DDG
For more information on module installation, please visit the detailed CPAN module installation guide.