oc-adrema-plugin/components/EventIndex.php

22 lines
424 B
PHP

<?php
namespace Silva\Adrema\Components;
class EventIndex extends EventManager
{
public function componentDetails()
{
return [
'name' => __('event_index_component_name'),
'description' => __('event_index_component_description'),
];
}
public function onRun()
{
$this->addAssets();
$this->loadSettings();
$this->loadSingleEvent();
}
}