@@ -47,6 +47,51 @@ class Entry extends rex_yform_manager_dataset
47
47
/** @api */
48
48
public const ONLINE = 1 ;
49
49
50
+ // Single point of truth for field names
51
+ public const string ID = 'id ' ;
52
+ public const string STATUS_FIELD = 'status ' ;
53
+ public const string NAME = 'name ' ;
54
+ public const string TEASER = 'teaser ' ;
55
+ public const string DESCRIPTION = 'description ' ;
56
+ public const string DOMAIN_IDS = 'domain_ids ' ;
57
+ public const string LANG_ID = 'lang_id ' ;
58
+ public const string PUBLISHDATE = 'publishdate ' ;
59
+ public const string AUTHOR_ID = 'author_id ' ;
60
+ public const string URL = 'url ' ;
61
+ public const string CATEGORY_IDS = 'category_ids ' ;
62
+ public const string IMAGE = 'image ' ;
63
+ public const string IMAGES = 'images ' ;
64
+ public const string ATTACHMENTS = 'attachments ' ;
65
+ public const string CREATEDATE = 'createdate ' ;
66
+ public const string CREATEUSER = 'createuser ' ;
67
+ public const string UPDATEDATE = 'updatedate ' ;
68
+ public const string UPDATEUSER = 'updateuser ' ;
69
+ public const string UUID = 'uuid ' ;
70
+ public const string CANONICAL_URL = 'canonical_url ' ;
71
+
72
+ public const array FIELD_CONFIG = [
73
+ self ::ID ,
74
+ self ::STATUS_FIELD => [],
75
+ self ::NAME => [],
76
+ self ::TEASER => [],
77
+ self ::DESCRIPTION => [],
78
+ self ::DOMAIN_IDS => [],
79
+ self ::LANG_ID => [],
80
+ self ::PUBLISHDATE => [],
81
+ self ::AUTHOR_ID => [],
82
+ self ::URL => [],
83
+ self ::CATEGORY_IDS => [],
84
+ self ::IMAGE => [],
85
+ self ::IMAGES => [],
86
+ self ::ATTACHMENTS => [],
87
+ self ::CREATEDATE => [],
88
+ self ::CREATEUSER => [],
89
+ self ::UPDATEDATE => [],
90
+ self ::UPDATEUSER => [],
91
+ self ::UUID => [],
92
+ self ::CANONICAL_URL => [],
93
+ ];
94
+
50
95
/**
51
96
* Standards für das Formular anpassen
52
97
* - Editor-Konfiguration einfügen.
0 commit comments