Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Entity Reference Field Handler to Refernce by ID #241

Merged
merged 1 commit into from
Feb 28, 2023

Conversation

kerasai
Copy link
Contributor

@kerasai kerasai commented Jan 18, 2022

I'm using a fair amount of custom steps to handle complicated data setup within the tests, which I track and reference via https://packagist.org/packages/kerasai/behat-tokenizer.

This PR changes the D8+ entity reference field handler to find the referenced entity by label (existing functionality) or ID.

@kerasai
Copy link
Contributor Author

kerasai commented Jan 18, 2022

Note, this is a similar fix to #94 but retains backwards compatibility.

Also related to #117 and #133.

@jhedstrom jhedstrom merged commit 8f2010b into jhedstrom:master Feb 28, 2023
@jhedstrom
Copy link
Owner

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants