Open ultimike opened 1 year ago
Seems our scraper is not scanning the directory where the entity_autocomplete element is defined:
export async function getElementFiles(version) {
return new Promise((res) => {
find.file(`tmp/drupal-${version}/core/lib/Drupal/Core/Render/Element/`, (file) => {
const filtered = file.filter((filename) => filename.endsWith('.php'));
res(filtered);
});
});
}
Might be worth scanning /core/lib/Drupal/Core/*/Element/
Nudge (pretty please.)
So impatient
Heh - indeed.
I have no idea if the pull request will work (no idea if wildcards are allowed.) In fact, I did it during a module development class I was teaching. 🤞🏼
thanks, -mike
I'll take a look - updating to include 10.3 and 11.0 first
When using
@FormElement
to autocomplete form elements, theentity_autocomplete
element is missing.The scraper needs to add
/core/lib/Drupal/Core/Entity/Element/
to include it.thanks, -mike