Skip to content

Commit

Permalink
TASK: Enable the feature for all auto created child node
Browse files Browse the repository at this point in the history
  • Loading branch information
dfeyer authored Dec 5, 2017
1 parent ecad5af commit 7ba618c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function initializeObject()
public function getLabel(NodeInterface $node)
{
$label = null;
if ($node->getNodeType()->isOfType('TYPO3.Neos:ContentCollection') && $node->isAutoCreated()) {
if ($node->isAutoCreated()) {
$parentNode = $node->getParent();
$property = 'childNodes.' . $node->getName() . '.label';
if ($parentNode->getNodeType()->hasConfiguration($property)) {
Expand Down

0 comments on commit 7ba618c

Please sign in to comment.