[android-components](../../index.md) / [mozilla.components.feature.contextmenu](../index.md) / [ContextMenuCandidate](index.md) / [createShareLinkCandidate](./create-share-link-candidate.md)

# createShareLinkCandidate

`fun createShareLinkCandidate(context: <ERROR CLASS>): `[`ContextMenuCandidate`](index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/contextmenu/src/main/java/mozilla/components/feature/contextmenu/ContextMenuCandidate.kt#L257)

Context Menu item: "Share Link".

