- Issue created by @joachim
- Assigned to prabha1997
- Merge request !8384Issue #3446403 by edutrul, jnicola, mradcliffe: [name]: This field is missing for example recipe โ (Closed) created by prabha1997
- Issue was unassigned.
- Status changed to Needs review
about 1 year ago 8:10am 12 June 2024 - Status changed to Needs work
about 1 year ago 8:37am 12 June 2024 - ๐ฌ๐งUnited Kingdom joachim
There's something wrong with your MR -- it's saying 1000+ changes!
Are you sure your branches are correct?
- First commit to issue fork.
- ๐ต๐นPortugal dxvargas
I'm extremely confused with the MR that I see related with this issue. So many commits... why?
As I understand we simply need to add something like this to
lib/Drupal/Core/Entity/entity.api.php
:/** * Modify the list of available entity reference plugins. * * This hook may be used to modify plugin properties after they have been * specified by other modules. * * @param array $plugins * An array of all the existing plugin definitions, passed by reference. * * @see \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManager */ function hook_entity_reference_selection_alter(array &$plugins) { // Remove a plugin. unset($plugins['broken']); }
What am I missing?
- First commit to issue fork.
- Merge request !9634Document the hookhook_entity_reference_selection_alter. โ (Closed) created by Unnamed author
- ๐ฌ๐งUnited Kingdom joachim
> I'm extremely confused with the MR that I see related with this issue. So many commits... why?
That can happen when the target branch set on the MR and the actual parent branch of the MR branch are not the same.
- ๐ง๐ชBelgium xdequinze Brussels
I was working on this issue with nhojivar7 at DrupalCon Barcelona contribution's day.
- Status changed to Needs review
5 months ago 1:47pm 5 April 2025 - ๐ง๐ทBrazil isa.bel Balneรกrio Camboriรบ
The documentation seems complete and correct now, I will set this to Needs Review
- ๐บ๐ธUnited States smustgrave
Can 1 MR be closed or hidden.
Also may want to check usage as I don't see anything in core besides a test using this hook. Maybe it's not needed?
- ๐ฌ๐งUnited Kingdom joachim
> Also may want to check usage as I don't see anything in core besides a test using this hook. Maybe it's not needed?
It's standard for all plugin managers to have an alter hook for the discovered plugin info.
- ๐ง๐ทBrazil isa.bel Balneรกrio Camboriรบ
isa.bel โ changed the visibility of the branch document-hook_entity_reference_selection_alter to hidden.
- ๐ง๐ทBrazil isa.bel Balneรกrio Camboriรบ
isa.bel โ changed the visibility of the branch document-hook_entity_reference_selection_alter to active.
- ๐ง๐ทBrazil isa.bel Balneรกrio Camboriรบ
isa.bel โ changed the visibility of the branch 3453692-hookentityreferenceselectionalter-is-undocumented to hidden.
- ๐ง๐ทBrazil isa.bel Balneรกrio Camboriรบ
MR 1 hidden, but I can't close it
The Needs Review Queue Bot โ tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide โ to find step-by-step guides for working with issues.
- ๐ง๐ทBrazil isa.bel Balneรกrio Camboriรบ
I checked the PR and all the checks passed, therefore I'm changing this to needs review again.
The Needs Review Queue Bot โ tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide โ to find step-by-step guides for working with issues.
- Status changed to RTBC
29 days ago 1:57pm 26 July 2025 - ๐ง๐ทBrazil isa.bel Balneรกrio Camboriรบ
It's not possible to run phpstan in this file
The Needs Review Queue Bot โ tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide โ to find step-by-step guides for working with issues.
- ๐บ๐ธUnited States smustgrave
The bot may be correct, MR is 1800 commits back
- ๐บ๐ธUnited States smustgrave
I imagine the bot is complaining thereโs no return of void
- ๐ณ๐ฟNew Zealand quietone
This needs one small change, see the comment in the MR.
- First commit to issue fork.
-
quietone โ
committed 27629c7a on 11.x
Issue #3453692 by nhojivar7, agunjan085, joachim, isa.bel, xdequinze:...
-
quietone โ
committed 27629c7a on 11.x
-
quietone โ
committed c186e85a on 11.2.x
Issue #3453692 by nhojivar7, agunjan085, joachim, isa.bel, xdequinze:...
-
quietone โ
committed c186e85a on 11.2.x
- ๐ฌ๐งUnited Kingdom joachim
Thanks! As a docs-only fix, can this be committed to the 10 branch too?