[android-components](../../index.md) / [mozilla.components.concept.toolbar](../index.md) / [Toolbar](index.md) / [addPageAction](./add-page-action.md)

# addPageAction

`abstract fun addPageAction(action: `[`Action`](-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/concept/toolbar/src/main/java/mozilla/components/concept/toolbar/Toolbar.kt#L115)

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

Related:
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/user_interface/Page_actions

