TDH_2/plugins/october/demo/Plugin.php

29 lines
727 B
PHP
Raw Permalink Normal View History

2023-05-04 10:50:18 +00:00
<?php namespace October\Demo;
use System\Classes\PluginBase;
/**
* The plugin.php file (called the plugin initialization script) defines the plugin information class.
*/
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::class => 'demoTodo',
\October\Demo\Components\BackendLink::class => 'backendLink'
];
}
}