<?php
/**
* LandofCoder
*
* NOTICE OF LICENSE
*
* This source file is subject to the landofcoder.com license that is
* available through the world-wide-web at this URL:
* https://landofcoder.com/license
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category LandofCoder
* @package Lofmp_Blog
* @copyright Copyright (c) 2022 Landofcoder (https://landofcoder.com/)
* @license https://landofcoder.com/LICENSE-1.0.html
*/
declare(strict_types=1);
namespace Lofmp\Blog\Controller\Adminhtml;
/**
* Admin blog category edit controller
*/
class Category extends Actions
{
/**
* Form session key
* @var string
*/
protected $_formSessionKey = 'lofmpblog_category_form_data';
/**
* Allowed Key
* @var string
*/
protected $_allowedKey = 'Lofmp_Blog::category';
/**
* Model class name
* @var string
*/
protected $_modelClass = \Lofmp\Blog\Model\Category::class;
/**
* Collection class name
* @var string
*/
protected $_collectionClass = \Lofmp\Blog\Model\ResourceModel\Category\Collection::class;
/**
* Active menu key
* @var string
*/
protected $_activeMenu = 'Lofmp_Blog::category';
/**
* Status field name
* @var string
*/
protected $_statusField = 'is_active';
/**
* model Own Title
* @var string
*/
protected $_own_title_field = 'name';
/**
* @var string
*/
protected $_idKey = 'category_id';
}
|