Sulu\Component\Content\Metadata\Factory\StructureMetadataFactory::getPaths PHP Method

getPaths() private method

Get the paths from the type path configuration.
private getPaths ( string $type ) : array
$type string
return array
    private function getPaths($type)
    {
        $typeConfigs = $this->typePaths[$type];
        $paths = [];
        foreach ($typeConfigs as $typeConfig) {
            $paths[] = $typeConfig['path'];
        }
        return $paths;
    }