Document/Subscriber/RoutableSubscriber.php
private function getRoutePathPropertyName($structureType, $locale)
    {
        $metadata = $this->metadataFactory->getStructureMetadata('article', $structureType);

        if ($metadata->hasTag(self::TAG_NAME)) {
            return $this->getPropertyName($locale, $metadata->getPropertyByTagName(self::TAG_NAME)->getName());
        }

        return $this->getPropertyName($locale, self::ROUTE_FIELD);
    }
private function getRoutePathPropertyName($structureType, $locale)
    {
        $metadata = $this->metadataFactory->getStructureMetadata('article', $structureType);

        if ($metadata->hasTag(self::TAG_NAME)) {
            return $this->getPropertyName($locale, $metadata->getPropertyByTagName(self::TAG_NAME)->getName());
        }

        return $this->getPropertyName($locale, self::ROUTE_FIELD);
    }
private function getRoutePathPropertyName ( $ structureType , $ locale ) { $ metadata = $ this -> metadataFactory -> getStructureMetadata ( 'article' , $ structureType ) ; if ( $ metadata -> hasTag ( self :: TAG_NAME ) ) { return $ this -> getPropertyName ( $ locale , $ metadata -> getPropertyByTagName ( self :: TAG_NAME ) -> getName ( ) ) ; } return $ this -> getPropertyName ( $ locale , self :: ROUTE_FIELD ) ; }
Returns encoded "routePath" property-name.

@param string $structureType
@param string $locale

@return string
Returns encoded routePath property - name .