oc-adrema-plugin/components/EventIndex.php

22 lines
424 B
PHP
Raw Normal View History

2024-02-01 00:23:58 +01:00
<?php
namespace Silva\Adrema\Components;
2024-02-03 22:51:26 +01:00
class EventIndex extends EventManager
2024-02-01 00:23:58 +01:00
{
public function componentDetails()
{
return [
2024-02-03 22:55:24 +01:00
'name' => __('event_index_component_name'),
'description' => __('event_index_component_description'),
2024-02-01 00:23:58 +01:00
];
}
public function onRun()
{
2024-02-03 22:51:26 +01:00
$this->addAssets();
$this->loadSettings();
$this->loadSingleEvent();
2024-02-01 00:23:58 +01:00
}
}