Skip to content
This repository was archived by the owner on Feb 23, 2020. It is now read-only.
This repository was archived by the owner on Feb 23, 2020. It is now read-only.

EventType::getIdentityTypeEntityFormMode() should return a form mode string #152

@MegaChriz

Description

@MegaChriz

On the event type form, when you select an alternative form mode for a person, it looks like the change is not saved, because when the form is reloaded the default form mode seems to be selected.

I have found that the bug is in EventType::getIdentityTypeEntityFormMode(). This returns a boolean, while it should return a string representing the selected form mode, according to EntityTypeInterface::getIdentityTypeEntityFormMode().

Pull request will follow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions