Drupal is a registered trademark of Dries Buytaert
Release: Leaflet 10.4.11 Minor update available for module leaflet (10.4.11). Release: Session Inspector 1.0.8 Minor update available for module session_inspector (1.0.8). Release: Migrate QA 2.0.4 Minor update available for module migrate_qa (2.0.4). Release: CKEditor Description List 3.0.0 Major update available for module ckeditor_descriptionlist (3.0.0). Release: FlowDrop 2.4.0 Minor update available for module flowdrop (2.4.0). Release: JWT Token Refresh 1.0.4 Minor update available for module jwt_token_refresh (1.0.4). Release: ConReg 1.0.0-beta1 First beta version released for module conreg (1.0.0-beta1). Release: AI Image Studio 1.0.0-beta8 New beta version released for module ai_image_studio (1.0.0-beta8). Usage Milestone: Statistics Counter Module statistics_counter crossed 1,000 active installs. Module Revived: Decoupled Router 2.0.7 Module decoupled_router updated after 11 months of inactivity (2.0.7).

Share

20 sites No security coverage
View on drupal.org

This module provides a block that allows users to share content via their operating system's built-in sharing features or by copying a link to the clipboard. It also supports customizing the shared title and description.

Introduction

Share includes a Block that integrates the WebShareAPI if the device supports it, copies the link to the clipboard otherwise.

Unlike specific share links for Facebook, X and so on, this works with any service the users operating systems/browsers supports.

Features

  • Integrates WebShareAPI if the device allows it, falls back to copying the link

  • Template exposed to customize the output

  • Integrates with meta tags for manage shared title and description (e.g. og:description)

Use cases:

  • Visitors can share a page or blogpost with all the integrated services

Post-Installation

After enabling the module:

  1. Place the Block

  2. Style the button

Old description - Drupal 6 project

The Share module hosts the ability to have several different types of ways to share content via widgets and tabs. It is now possible to manage hosts of sharing methods and set criteria for when and where to display those methods. Each share method can be displayed as a block, inside the node, or in node links.

If we take the provided share widget and the included link codes tab, by creating and enabling multiple of the share widget with link codes we can customize each and every one. On Story nodes we can have link codes only display the direct link to the node, and on Page nodes we can have link codes display all three of it's available codes. It is possible to utilize multiple types of widgets, for instance we can show the share widget on Page nodes and the ShareThis widget on nodes with a particular term attached to it.

The module includes it's own widget, a ShareThis widget (requires ShareThis), and one tab type called Link Codes.

Developers:
Take a look at the two included widgets and the link codes tab for examples of how to use the API.

Activity

Tracked releases
2
Tracked since
Mar 2026
Latest release
4 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Mar 30, 2026
1.x-dev Dev Mar 30, 2026