File tree Expand file tree Collapse file tree
src/CoreBundle/EventListener/DcGeneral/DefinitionBuilder Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727use ContaoCommunityAlliance \DcGeneral \DataDefinition \Definition \Properties \PropertyInterface ;
2828use ContaoCommunityAlliance \DcGeneral \DataDefinition \Definition \PropertiesDefinitionInterface ;
2929use MetaModels \Attribute \IAttribute ;
30+ use MetaModels \Attribute \IInternal ;
3031use MetaModels \Attribute \ITranslated ;
3132use MetaModels \DcGeneral \DataDefinition \IMetaModelDataDefinition ;
3233use MetaModels \DcGeneral \Events \MetaModel \BuildAttributeEvent ;
@@ -122,7 +123,7 @@ protected function build(IMetaModelDataDefinition $container)
122123 }
123124
124125 foreach ($ metaModel ->getAttributes () as $ attribute ) {
125- if (!isset ($ properties [$ attribute ->get ('id ' )])) {
126+ if ($ attribute instanceof IInternal || !isset ($ properties [$ attribute ->get ('id ' )])) {
126127 continue ;
127128 }
128129 $ this ->buildProperty (
You can’t perform that action at this time.
0 commit comments