diff --git a/Classes/Flowpack/SchemaOrg/NodeTypes/Domain/Model/DefaultNodeLabelGenerator.php b/Classes/Flowpack/SchemaOrg/NodeTypes/Domain/Model/DefaultNodeLabelGenerator.php deleted file mode 100644 index 56e9c5a..0000000 --- a/Classes/Flowpack/SchemaOrg/NodeTypes/Domain/Model/DefaultNodeLabelGenerator.php +++ /dev/null @@ -1,42 +0,0 @@ -hasProperty('name') === TRUE && $node->getProperty('name') !== '') { - $label = strip_tags($node->getProperty('name')); - } else { - $label = ($node->getNodeType()->getLabel() ?: $node->getNodeType()->getName()) . ' (' . $node->getName() . ')'; - } - - return $label; - } -} diff --git a/Classes/Flowpack/SchemaOrg/NodeTypes/Domain/Model/Property.php b/Classes/Flowpack/SchemaOrg/NodeTypes/Domain/Model/Property.php index daaf335..0fddbf3 100644 --- a/Classes/Flowpack/SchemaOrg/NodeTypes/Domain/Model/Property.php +++ b/Classes/Flowpack/SchemaOrg/NodeTypes/Domain/Model/Property.php @@ -94,7 +94,7 @@ public function __construct(ConfigurationService $configurationService, $type, $ $this->comment = (string)$comment; $this->ui = Arrays::arrayMergeRecursiveOverrule($this->ui, array( 'label' => $this->label, - 'comment' => $this->comment, + //'comment' => $this->comment, 'inspector' => array( 'group' => $groupName ) diff --git a/Configuration/Settings.yaml b/Configuration/Settings.yaml index 0747c43..de2cc40 100644 --- a/Configuration/Settings.yaml +++ b/Configuration/Settings.yaml @@ -25,7 +25,6 @@ Flowpack: typeDefaultConfiguration: '*': abstract: TRUE - nodeLabelGenerator: 'Flowpack\SchemaOrg\NodeTypes\Domain\Model\DefaultNodeLabelGenerator' ui: icon: 'icon-gear' @@ -73,8 +72,8 @@ Flowpack: 'articleBody': - 'Flowpack.SchemaOrg.NodeTypes:ArticleBodyMixin' - 'comment': - - 'Flowpack.SchemaOrg.NodeTypes:CommentMixin' +# 'comment': +# - 'Flowpack.SchemaOrg.NodeTypes:CommentMixin' # 'address': # - 'Flowpack.SchemaOrg.NodeTypes:AdressMixin'