[android-components](../../index.md) / [mozilla.components.browser.toolbar.display](../index.md) / [DisplayToolbar](index.md) / [urlFormatter](./url-formatter.md)

# urlFormatter

`var urlFormatter: (`[`CharSequence`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-sequence/index.html)`) -> `[`CharSequence`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-sequence/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/toolbar/src/main/java/mozilla/components/browser/toolbar/display/DisplayToolbar.kt#L227)

Allows customization of URL for display purposes.

