- 🇺🇸United States lhridley
From what I've been able to determine, there are no tests in Core that actually pass a value for the first parameter,
$match
. All calls that I can locate call this method with no values passed for the parameters, instead taking the default values. I limited my search to Drupal Core versions 10 and 11.The Core Kernel test that exists calls the method without any parameters, so default values are used.
In addition, all of the tests that I have located are in core modules that have bundles, so I don't think that a test exists for this.
So, this begs the question:
* Are there Core or contrib entities that exist without a bundle?
* Do we need a test for this in Core?If the answer to both is no, then:
* what is the purpose of the first parameter, and what is a use case where a value would be passed?
* If it has no real world purpose, should the API be changed to remove it? - Status changed to Needs review
21 days ago 3:13am 2 April 2025 - 🇮🇳India andol
We need more info on this ticket to proceed further. Updates to this ticket hasn't been made in a while.