marc-leopold/cms/plugins/graker/photoalbums/controllers/Photos.php

26 lines
539 B
PHP
Raw Permalink Normal View History

2019-02-25 14:56:59 +00:00
<?php namespace Graker\PhotoAlbums\Controllers;
use BackendMenu;
use Backend\Classes\Controller;
/**
* Photos Back-end Controller
*/
class Photos extends Controller
{
public $implement = [
'Backend.Behaviors.FormController',
'Backend.Behaviors.ListController'
];
public $formConfig = 'config_form.yaml';
public $listConfig = 'config_list.yaml';
public function __construct()
{
parent::__construct();
BackendMenu::setContext('Graker.PhotoAlbums', 'photoalbums', 'photos');
}
}