protected ThemeSettingsForm::validatePath($path)
Helper function for the system_theme_settings form.
Attempts to validate normal system paths, paths relative to the public files directory, or stream wrapper URIs. If the given path is any of the above, returns a valid path or URI that the theme system can display.
Parameters
string $path: A path relative to the Drupal root or to the public files directory, or a stream wrapper URI.
Return value
mixed A valid path that can be displayed through t