Skip to content

Widget

The "Repository" widget saves typing for repositories on one host. In its settings, choose the host, and optionally an owner (an organization, group or user). Editors then enter owner/name, or just the name when the owner is set. A full repository URL, or one starting with a host name such as gitlab.example.com/team/site, is accepted too, for repositories elsewhere.

Values are saved as the repository's URL, such as https://github.com/drupal/drupal. The field also works with core's text field widgets.