public function allowsChildNodeType(NodeType $nodeType) { $constraints = $this->getConfiguration('constraints.nodeTypes') ?: array(); return $this->isNodeTypeAllowedByConstraints($nodeType, $constraints); }