[android-components](../../../index.md) / [mozilla.components.browser.state.action](../../index.md) / [WebExtensionAction](../index.md) / [InstallWebExtensionAction](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`InstallWebExtensionAction(extension: `[`WebExtensionState`](../../../mozilla.components.browser.state.state/-web-extension-state/index.md)`)`

Updates [BrowserState.extensions](../../../mozilla.components.browser.state.state/-browser-state/extensions.md) to register the given [extension](extension.md) as installed.

