update
This commit is contained in:
21
inc/Hura8/Components/Product/Model/ProductLanguageModel.php
Normal file
21
inc/Hura8/Components/Product/Model/ProductLanguageModel.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Hura8\Components\Product\Model;
|
||||
|
||||
use Hura8\System\Model\EntityLanguageModel;
|
||||
use Hura8\Interfaces\EntityType;
|
||||
|
||||
class ProductLanguageModel extends EntityLanguageModel
|
||||
{
|
||||
|
||||
protected $richtext_fields = [
|
||||
'description',
|
||||
'spec',
|
||||
'instruction',
|
||||
];
|
||||
|
||||
public function __construct() {
|
||||
parent::__construct(EntityType::PRODUCT, '', $this->richtext_fields);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user