Skip to content

[USE CASE] Set default Relationship Type (only) for field #147

@t4k

Description

@t4k

Overview of Use Case
Allow the "Set default value" checkbox to have an effect on the Contributors (field_linked_agent) field with only one of the two values set for the field. I would like to set a default Relationship Type of "Creator" for all new instances of this field without setting an entity reference, but when I go through the expected Drupal UI steps it does not stick.

Title (Goal): Allow setting only default Relationship Type

Primary Actor:
Site Builder

Scope
Site/Field Configuration

Story:
As a site building I want to configure the Contributors field to have a default Relationship Type of Creator without setting a default entity reference so that content creators do not have to select Creator from the list when it will be used in the vast majority of cases.

Currently one must set both the Relationship Type value and the entity reference value in order for a default value for the field to stick. This is worse than not being able to set only a Relationship Type for my use case, since it would lead to confusion about the appropriate entity reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions