Devise\Pages\Fields\Handlers\AudioFieldUpdated::findUrlForFormat PHP Method

findUrlForFormat() protected method

Find the url for the given formats
protected findUrlForFormat ( array $formats, string $find ) : string
$formats array
$find string
return string
    protected function findUrlForFormat($formats, $find)
    {
        foreach ($formats as $format) {
            if ($format['format'] == $find) {
                return $format['label'];
            }
        }
        return '';
    }