Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Social Links API

No security coverage

Part of the Social ecosystem · 37 projects

View on drupal.org

Light-weight social share links to attach to your entities!

Clicking the link opens a popup to share your content's page, or a custom callback can used to e.g.
format the link to open in your mail application with a title and subject preset.

Provides default support for:

  • twitter
  • facebook
  • mail

Configuration

To add social links to e.g. a node page, go to Manage Display and drag the field "Social links" to the area you want
it to display.

API

Different providers can be created by implementing hook_social_links_alter. Take a look at social_links.api.php on how to define new social links or change existing ones.

Drupal 7

(D7: node and profile2 entities are supported for now).

If fonticon is enabled, social links are by default displayed with icons, using
the font icon key social-links-<providername>. Configuring icons is as simple as adding

fonticon[social_link_twitter] = '&#xe012;

to your theme .info file

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Feb 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
4.0.0 Stable Feb 15, 2024
4.x-dev Dev Feb 15, 2024
3.x-dev Dev Feb 15, 2024