...
Codeblock |
---|
language | js |
---|
title | Beispiel (modelling.json), um die Eigenschaft zu beschreiben |
---|
|
{
"type": "modelling",
"repositories": [
{
"identifier": "shopArticle",
"order": [
"general",
"shopArticleExample"
],
"groups": [
{
"identifier": "general",
"sets": [
{
"identifier": "general",
"order": [
"shopArticleName",
"ShopArticleExample"
],
"columns": [
{
"type": "Input",
"identifier": "ShopArticleExample",
"label": {
"de": "Beispiel",
"en": "Example"
},
"flags": ["result"],
"constraint": [
"NotBlank()"
]
}
]
}
]
}
]
}
]
} |
Nach jeder Änderung an den Entity-Klassen, ist es notwendig mit Composer brandbox zu erneut zu installieren:
Codeblock |
---|
language | powershell |
---|
title | Beispiel (shopArticle.php), um shopArticle zu erweitern |
---|
|
php composer.phar install
php composer.phar update |