PHPackages                             lomaxarchive/typed\_relation\_person\_formatter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. lomaxarchive/typed\_relation\_person\_formatter

ActiveDrupal-module[Utility &amp; Helpers](/categories/utility)

lomaxarchive/typed\_relation\_person\_formatter
===============================================

Provides a custom formatter for typed\_relation fields that modifies name and relator display.

1.0.1(3mo ago)01GPL-2.0-or-laterPHP

Since Apr 14Pushed 3mo agoCompare

[ Source](https://github.com/lomaxarchive/typed_relation_person_formatter)[ Packagist](https://packagist.org/packages/lomaxarchive/typed_relation_person_formatter)[ RSS](/packages/lomaxarchive-typed-relation-person-formatter/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Typed Relation Person Formatter
===============================

[](#typed-relation-person-formatter)

A Drupal module that provides a custom field formatter for [`typed_relation`](https://www.drupal.org/project/typed_relation) fields. It is designed for use with Person taxonomy terms and adds support for:

- Displaying a **preferred name** (given + family) from the `field_person_preferred_name` field, with fallback to the term label
- Optionally **showing or hiding the relator** (relationship type)
- **Filtering displayed entries** by allowed relators via formatter settings
- Linking the person's name to their taxonomy term page

Requirements
------------

[](#requirements)

- Drupal 10 or 11
- [Typed Relation](https://www.drupal.org/project/typed_relation) module

Installation
------------

[](#installation)

Install via Composer:

```
composer require lomaxarchive/typed_relation_person_formatter
```

Then enable the module:

```
drush en typed_relation_person_formatter
```

Usage
-----

[](#usage)

1. Navigate to **Manage display** for a content type that has a `typed_relation` field.
2. Select **Typed Relation Person Formatter** as the formatter for that field.
3. In the formatter settings you can:
    - Toggle **Show relationship type (relator)**
    - Select which **relators** are allowed to appear (leave all unchecked to show all)

Configuration
-------------

[](#configuration)

The formatter reads relator options from the `node.islandora_object.field_linked_agent` field config by default. If you use a different field, you may need to adjust `getRelatorOptions()` in `TypedRelationPersonFormatter.php`.

License
-------

[](#license)

GPL-2.0-or-later. See [LICENSE](LICENSE) for details.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance81

Actively maintained with recent releases

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

101d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3597502?v=4)[Kiki Smith-Archiapatti](/maintainers/kikina)[@kikina](https://github.com/kikina)

---

Top Contributors

[![kikina](https://avatars.githubusercontent.com/u/3597502?v=4)](https://github.com/kikina "kikina (3 commits)")

### Embed Badge

![Health badge](/badges/lomaxarchive-typed-relation-person-formatter/health.svg)

```
[![Health](https://phpackages.com/badges/lomaxarchive-typed-relation-person-formatter/health.svg)](https://phpackages.com/packages/lomaxarchive-typed-relation-person-formatter)
```

###  Alternatives

[farmos/farmos

A web-based farm record keeping application.

1.3k7.1k1](/packages/farmos-farmos)[emulsify-ds/emulsify-drupal

The official Drupal theme for Emulsify, with Storybook and a Vite-based build workflow for generated child themes

96556.4k2](/packages/emulsify-ds-emulsify-drupal)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
