ja.son-williams.ca/www/plugins/jasonwilliams/feed/controllers/Feed.php

20 lines
593 B
PHP

<?php namespace jasonwilliams\feed\Controllers;
use Backend\Classes\Controller;
use BackendMenu;
class Feed extends Controller
{
public $implement = [ 'Backend\Behaviors\ListController', 'Backend\Behaviors\FormController', 'Backend\Behaviors\ReorderController' ];
public $listConfig = 'config_list.yaml';
public $formConfig = 'config_form.yaml';
public $reorderConfig = 'config_reorder.yaml';
public function __construct()
{
parent::__construct();
BackendMenu::setContext('jasonwilliams.feed', 'main-menu-item');
}
}