Problem/Motivation

In the module term_glossary_per_node we can specifiy the default override value on the node edit form. But it works only on the UI side.

The term glossary activation default value is not applied to the underlying field and by consequence not applied when creating a node programmatically.

Proposed resolution

Add a hook_entity_bundle_field_info hook that checks the third party setting of the corresponding node type to update the field default value accordingly.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

mably’s picture

Status: Active » Needs review

  • mably committed d328c0fc on 4.x
    fix: #3569354 term_glossary_per_node active default value only applied...
mably’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.