Neos.Neos/Classes/Service/VieSchemaBuilder.php
protected function addProperty($nodeType, $propertyName, array $propertyConfiguration)
    {
        if (isset($this->properties[$propertyName])) {
            $this->properties[$propertyName]->domains[] = $nodeType;
        } else {
            $propertyLabel = isset($propertyConfiguration['ui']['label']) ? $propertyConfiguration['ui']['label'] : $propertyName;
            $this->properties[$propertyName] = (object) [
                'comment' => $propertyLabel,
                'comment_plain' => $propertyLabel,
                'domains' => [$nodeType],
                'id' => $propertyName,
                'label' => $propertyName,
                'ranges' => [],
                'min' => 0,
                'max' => -1
            ];
        }
    }
protected function addProperty($nodeType, $propertyName, array $propertyConfiguration)
    {
        if (isset($this->properties[$propertyName])) {
            $this->properties[$propertyName]->domains[] = $nodeType;
        } else {
            $propertyLabel = isset($propertyConfiguration['ui']['label']) ? $propertyConfiguration['ui']['label'] : $propertyName;
            $this->properties[$propertyName] = (object) [
                'comment' => $propertyLabel,
                'comment_plain' => $propertyLabel,
                'domains' => [$nodeType],
                'id' => $propertyName,
                'label' => $propertyName,
                'ranges' => [],
                'min' => 0,
                'max' => -1
            ];
        }
    }
protected function addProperty ( $ nodeType , $ propertyName , array $ propertyConfiguration ) { if ( isset ( $ this -> properties [ $ propertyName ] ) ) { $ this -> properties [ $ propertyName ] -> domains [ ] = $ nodeType ; } else { $ propertyLabel = isset ( $ propertyConfiguration [ 'ui' ] [ 'label' ] ) ? $ propertyConfiguration [ 'ui' ] [ 'label' ] : $ propertyName ; $ this -> properties [ $ propertyName ] = ( object ) [ 'comment' => $ propertyLabel , 'comment_plain' => $ propertyLabel , 'domains' => [ $ nodeType ] , 'id' => $ propertyName , 'label' => $ propertyName , 'ranges' => [ ] , 'min' => 0 , 'max' => - 1 ] ; } }
Adds a property to the list of known properties

@param string $nodeType
@param string $propertyName
@param array $propertyConfiguration
@return void
Adds a property to the list of known properties