src/Sulu/Bundle/PageBundle/Resources/phpcr-migrations/Version201510210733.php
private function findUrlBlockProperties(BlockMetadata $property, $structureName, array &$properties)
    {
        foreach ($property->getComponents() as $component) {
            foreach ($component->getChildren() as $childProperty) {
                if ('url' === $childProperty->getType()) {
                    $properties[$structureName][] = $property->getName();
                }
            }
        }
    }
private function findUrlBlockProperties(BlockMetadata $property, $structureName, array &$properties)
    {
        foreach ($property->getComponents() as $component) {
            foreach ($component->getChildren() as $childProperty) {
                if ('url' === $childProperty->getType()) {
                    $properties[$structureName][] = $property->getName();
                }
            }
        }
    }
private function findUrlBlockProperties ( BlockMetadata $ property , $ structureName , array & $ properties ) { foreach ( $ property -> getComponents ( ) as $ component ) { foreach ( $ component -> getChildren ( ) as $ childProperty ) { if ( 'url' === $ childProperty -> getType ( ) ) { $ properties [ $ structureName ] [ ] = $ property -> getName ( ) ; } } } }
Adds the block property to the list, if it contains a URL field.

@param BlockMetadata $property The block property to check
@param string $structureName The name of the structure the property belongs to
@param array $properties The list of properties, to which the block is added if it is a URL field
Adds the block property to the list if it contains a URL field .