mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
29 lines
668 B
PHP
29 lines
668 B
PHP
<?php namespace October\Demo;
|
|
|
|
/**
|
|
* The plugin.php file (called the plugin initialization script) defines the plugin information class.
|
|
*/
|
|
|
|
use System\Classes\PluginBase;
|
|
|
|
class Plugin extends PluginBase
|
|
{
|
|
|
|
public function pluginDetails()
|
|
{
|
|
return [
|
|
'name' => 'October Demo',
|
|
'description' => 'Provides features used by the provided demonstration theme.',
|
|
'author' => 'Alexey Bobkov, Samuel Georges',
|
|
'icon' => 'icon-leaf'
|
|
];
|
|
}
|
|
|
|
public function registerComponents()
|
|
{
|
|
return [
|
|
'\October\Demo\Components\Todo' => 'demoTodo'
|
|
];
|
|
}
|
|
}
|