[android-components](../../index.md) / [mozilla.components.browser.toolbar](../index.md) / [BrowserToolbar](index.md) / [addEditAction](./add-edit-action.md)

# addEditAction

`fun addEditAction(action: `[`Action`](../../mozilla.components.concept.toolbar/-toolbar/-action/index.md)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/toolbar/src/main/java/mozilla/components/browser/toolbar/BrowserToolbar.kt#L280)

Overrides [Toolbar.addEditAction](../../mozilla.components.concept.toolbar/-toolbar/add-edit-action.md)

Adds an action to be displayed on the right of the URL in edit mode.

