Source of file ColorAttributeType.php
Size: 0,516 Bytes - Last Modified: 2021-12-23T10:02:45+00:00
/var/www/docs.ssmods.com/process/src/code/model/attributes/ColorAttributeType.php
1234567891011121314151617181920212223242526 | <?php /** * Created by PhpStorm. * User: Magnum * Date: 2018-02-03 * Time: 22:36 */ class ColorAttributeType extends AttributeType { private static $singular_name = "Color Attribute"; private static $plural_name = "Color Attributes"; private static $has_many = array( "ColorAttributeValues" => "ColorAttributeValue" ); public function getCMSFields() { $fields = parent::getCMSFields(); $fields->removeByName("Sort"); return $fields; } } |