| 1 | <?php namespace PKleindienst\BlogSearch; |
||
| 8 | class Plugin extends PluginBase |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var array Plugin dependencies |
||
| 12 | */ |
||
| 13 | public $require = ['RainLab.Blog']; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Returns information about this plugin. |
||
| 17 | * |
||
| 18 | * @return array |
||
| 19 | */ |
||
| 20 | public function pluginDetails() |
||
| 21 | { |
||
| 22 | return [ |
||
| 23 | 'name' => 'Blog Search', |
||
| 24 | 'description' => 'Adds a search function to the blog', |
||
| 25 | 'author' => 'Pascal Kleindienst', |
||
| 26 | 'icon' => 'icon-search', |
||
| 27 | 'homepage' => 'https://github.com/PascalKleindienst/october-blogsearch-extension' |
||
| 28 | ]; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return array |
||
| 33 | */ |
||
| 34 | public function registerComponents() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Register new Twig variables |
||
| 44 | * @return array |
||
| 45 | */ |
||
| 46 | public function registerMarkupTags() |
||
| 60 | } |
||
| 61 |