{
"controller": "controllers/record",
"iconClass": "fas fa-sort-amount-down",
"boolFilterList": [
"onlyMy",
"notLinkedWithProduct",
"notLinkedProductAttributeValues",
"notLinkedProductFamilyAttributes",
"unitTypeDisabled",
"notLocalesAttributes"
],
"hiddenBoolFilterList": [
"notLinkedWithProduct",
"notLinkedProductAttributeValues",
"notLinkedProductFamilyAttributes",
"unitTypeDisabled",
"notLocalesAttributes"
],
"disabledMassActions": [
"merge"
],
"views": {
"list": "pim:views/list",
"detail": "pim:views/attribute/detail"
},
"recordViews": {
"detail": "pim:views/attribute/record/detail",
"list": "pim:views/attribute/record/list"
},
"modalViews": {
"select": "pim:views/attribute/modals/select-records"
},
"dynamicLogic": {
"fields": {
"type": {
"readOnly": {
"conditionGroup": [
{
"type": "isNotEmpty",
"attribute": "id"
}
]
}
},
"typeValue": {
"visible": {
"conditionGroup": [
{
"type": "in",
"attribute": "type",
"value": [
"enum",
"multiEnum",
"unit"
]
}
]
},
"required": {
"conditionGroup": [
{
"type": "in",
"attribute": "type",
"value": [
"enum",
"multiEnum"
]
}
]
}
},
"isMultilang": {
"visible": {
"conditionGroup": [
{
"type": "in",
"attribute": "type",
"value": [
"bool",
"enum",
"multiEnum",
"varchar",
"text",
"wysiwyg"
]
},
{
"type": "isEmpty",
"attribute": "locale"
}
]
}
},
"attributeGroup": {
"readOnly": {
"conditionGroup": [
{
"type": "isNotEmpty",
"attribute": "locale"
}
]
}
}
}
}
}
|