Download the PHP package lomaxarchive/typed_relation_person_formatter without Composer
On this page you can find all versions of the php package lomaxarchive/typed_relation_person_formatter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lomaxarchive/typed_relation_person_formatter
More information about lomaxarchive/typed_relation_person_formatter
Files in lomaxarchive/typed_relation_person_formatter
Download lomaxarchive/typed_relation_person_formatter
More information about lomaxarchive/typed_relation_person_formatter
Files in lomaxarchive/typed_relation_person_formatter
Vendor lomaxarchive
Package typed_relation_person_formatter
Short Description Provides a custom formatter for typed_relation fields that modifies name and relator display.
License GPL-2.0-or-later
Package typed_relation_person_formatter
Short Description Provides a custom formatter for typed_relation fields that modifies name and relator display.
License GPL-2.0-or-later
Please rate this library. Is it a good library?
Informations about the package typed_relation_person_formatter
Typed Relation Person Formatter
A Drupal module that provides a custom field formatter for 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_namefield, 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
- Drupal 10 or 11
- Typed Relation module
Installation
Install via Composer:
Then enable the module:
Usage
- Navigate to Manage display for a content type that has a
typed_relationfield. - Select Typed Relation Person Formatter as the formatter for that field.
- 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
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
GPL-2.0-or-later. See LICENSE for details.
All versions of typed_relation_person_formatter with dependencies
PHP Build Version
Package Version
Requires
drupal/core Version
^10 || ^11
The package lomaxarchive/typed_relation_person_formatter contains the following files
Loading the files please wait ...