Module
- D10: not supported
- D11: stable release
- D12: stable release
Primary Entity Reference
Primary Entity Reference is a field type that extends the standard Entity Reference field with the ability to mark one referenced entity as the primary. This is useful for content types where you want to reference multiple entities but always need one of them to be considered the “main” or “default”
drupal.org
composer require drupal/primary_entity_reference55 out of 100
Watch
Depends on one person.
- Sites
- 95
- Latest release
- 4 months ago
- Contributors (12 months)
- 4
- Open bugs
- 0
Why 55?
How scores work →Scored for choosing for a business. Each part is out of 100.
- Adoption
- 95 sites
- 0
- Activity
- Last release 4 months ago; 9 releases this year
- 72
- Community
- 1 maintainer can publish fixes; 4 people contributed this year
- 48
- Health
- 0 open bugs, 0 serious; 0 finished fixes waiting
- 98
- Readiness
- Drupal 11 and 12 · security team coverage · no stable release
- 80
- +2 Latest stable release supports Drupal 12
Usage
Reported Drupal 8+ sites per week, last two years.
Releases
- Latest release
- 1.0.0-beta8 (4 months ago)
- Latest stable
- None
- Releases in the last 12 months
- 9
- Security releases (all time)
- 0
- First Drupal 8+ release
- 13 months ago
All metrics · harvested 2026-11-24
| active_branches_12m | 1.0.x |
|---|---|
| active_weeks_12m | 8 |
| any_release_d10 | false |
| any_release_d11 | true |
| any_release_d12 | true |
| bugs_critical_open | 0 |
| bugs_open | 0 |
| bugs_opened_12m | 7 |
| bus_factor_80 | 1 |
| categories | Content display, Content editing experience |
| changed | 1788273356 |
| commit_authors_12m | 4 |
| commits_12m | 26 |
| commits_90d | 0 |
| commits_truncated | false |
| composer_version | 1.0.0-beta8 |
| contributors_12m | 4 |
| core_constraint | >=11.1 |
| created | 1747504339 |
| default_branch | 1.0.x |
| dependencies | |
| development_status | Under active development |
| first_release_date | 1761254271 |
| forks | 33 |
| gitlab_id | 182317 |
| harvested_at | 1795480025 |
| has_issue_queue | false |
| issue_source | gitlab |
| issues_flow_truncated | false |
| issues_needs_review | 1 |
| issues_open | 4 |
| issues_opened_12m | 22 |
| issues_opened_12m_closed_other | 2 |
| issues_opened_12m_fixed | 18 |
| issues_rtbc | 0 |
| issues_total | 36 |
| kind | module |
| last_activity_at | 2026-09-10T20:54:24.312Z |
| latest_release_date | 1785884416 |
| latest_stable_date | – |
| latest_stable_version | – |
| latest_supports_d10 | false |
| latest_supports_d11 | true |
| latest_supports_d12 | true |
| latest_version | 1.0.0-beta8 |
| maintainer_names | bluegeek9 |
| maintainers | 1 |
| maintainers_release | 1 |
| maintainers_vcs | 1 |
| maintenance_status | Actively maintained |
| mrs_merged_12m | 23 |
| mrs_open | 2 |
| name | primary_entity_reference |
| nid | 3525096 |
| php_constraint | – |
| project_type | full |
| release_count | 11 |
| releases_12m | 9 |
| replaced_by | false |
| security_coverage | covered |
| security_releases | 0 |
| stars | 7 |
| summary | Primary Entity Reference is a field type that extends the standard Entity Reference field with the ability to mark one referenced entity as the primary. This is useful for content types where you want to reference multiple entities but always need one of them to be considered the “main” or “default” |
| title | Primary Entity Reference |
| url | https://www.drupal.org/project/primary_entity_reference |
| usage_d8plus | 105 |
| usage_d8plus_4w_avg | 95 |
| usage_d8plus_4w_avg_12m_ago | 9 |
| usage_d8plus_4w_avg_6m_ago | 60 |
| usage_d8plus_peak | 122 |
| usage_d8plus_peak_week | 2026-10-10 |
| usage_growth_12m_pct | – |
| usage_growth_6m_pct | – |
| usage_on_latest_release | 79 |
| usage_on_latest_release_pct | 75.2 |
| usage_pct_of_peak | 77.9 |
| usage_total | 105 |
| usage_weeks_reported | 56 |