{"id":19615426,"url":"https://github.com/droath/link-widget","last_synced_at":"2026-05-16T19:02:45.365Z","repository":{"id":16624853,"uuid":"19379898","full_name":"droath/Link-Widget","owner":"droath","description":"Link Widget for Drupal","archived":false,"fork":false,"pushed_at":"2014-05-02T16:31:07.000Z","size":152,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"7.x-1.x","last_synced_at":"2025-01-09T10:36:26.938Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"sinonjs/sinon-docs","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/droath.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-02T15:44:43.000Z","updated_at":"2014-05-02T16:31:03.000Z","dependencies_parsed_at":"2022-07-26T08:32:03.377Z","dependency_job_id":null,"html_url":"https://github.com/droath/Link-Widget","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droath%2FLink-Widget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droath%2FLink-Widget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droath%2FLink-Widget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droath%2FLink-Widget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/droath","download_url":"https://codeload.github.com/droath/Link-Widget/tar.gz/refs/heads/7.x-1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240907401,"owners_count":19876686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T10:56:46.538Z","updated_at":"2026-05-16T19:02:45.275Z","avatar_url":"https://github.com/droath.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Description:\n\nThe Link Widget module provides a elegant way for wrapping an link around a\n\"image\" or \"text\" field type output. This module is dependent upon the [Field\nWidget Storage API](https://drupal.org/sandbox/droath/1992692), which provides\na solution for saving extra widget configurations alongside a field.\n\n### What are the differences between Link Widget and related link modules?\n\nThe biggest difference is based on the modules architect; instead of creating\nanother field type, I just created a field widget that extends the field\nconfigurations. You can make either an image or text field type linkable. This\nconcept can be extended and can accommodate for other field types in future\nreleases.\n\n### What are the advantages of the Link Widget module?\n\nThere are a couple advantages of the Link Widget module. First and foremost,\nthere is less code to maintain. As I'm only defining a field widget, and don't\nhave to worry about recreating the field component. Second, the Link Widget is\nflexible and making a text or image field linkable, is super easy and can be\ndone by just selecting a field widget type \"Link\".\n\n### What link attributes does Link Widget module support?\n\n  * Class - Specifies one or more class names for an element.\n  * Rel - Specifies the relationship between the current document and the linked document.\n  * Target - Specifies where to open the linked document.\n  * Media - Specifies what media/device the linked document is optimized for.\n  * Type - Specifies the MIME type of the linked document.\n\n**Note:** I exposed a drupal hook so other modules can add their own attributes.\n\n#### Supported Modules:\n\n  * [FlexSlider 7.x-1.x](https://drupal.org/project/flexslider)\n  * [Token](https://drupal.org/project/token)\n\n#### Related Modules:\n\n  * [Link](https://drupal.org/project/link)\n  * [Link Image Field](https://drupal.org/project/linkimagefield)\n\n#### Dependencies:\n\n  * [Field Widget Storage API](https://github.com/droath/Field-Widget-Storage-API)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdroath%2Flink-widget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdroath%2Flink-widget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdroath%2Flink-widget/lists"}