src/Sulu/Component/Content/Query/ContentQueryBuilder.php
private function buildSelectorForExcerpt($locale, &$additionalFields)
    {
        $excerptStructure = $this->structureManager->getStructure('excerpt');
        $extension = $this->extensionManager->getExtension('', 'excerpt');

        foreach ($excerptStructure->getProperties(true) as $property) {
            $additionalFields[$locale][] = [
                'extension' => $extension,
                'target' => 'excerpt',
                'property' => $property->getName(),
                'name' => $property->getName(),
            ];
        }
    }
private function buildSelectorForExcerpt($locale, &$additionalFields)
    {
        $excerptStructure = $this->structureManager->getStructure('excerpt');
        $extension = $this->extensionManager->getExtension('', 'excerpt');

        foreach ($excerptStructure->getProperties(true) as $property) {
            $additionalFields[$locale][] = [
                'extension' => $extension,
                'target' => 'excerpt',
                'property' => $property->getName(),
                'name' => $property->getName(),
            ];
        }
    }
private function buildSelectorForExcerpt ( $ locale , & $ additionalFields ) { $ excerptStructure = $ this -> structureManager -> getStructure ( 'excerpt' ) ; $ extension = $ this -> extensionManager -> getExtension ( '' , 'excerpt' ) ; foreach ( $ excerptStructure -> getProperties ( true ) as $ property ) { $ additionalFields [ $ locale ] [ ] = [ 'extension' => $ extension , 'target' => 'excerpt' , 'property' => $ property -> getName ( ) , 'name' => $ property -> getName ( ) , ] ; } }
Returns a select statement for excerpt data.
Returns a select statement for excerpt data .