Skip to content
Snippets Groups Projects
Commit 00fbe484 authored by catch's avatar catch
Browse files

Issue #1054162 by tim.plunkett, Transition, Dave Reid, joachim: Taxonomy...

Issue #1054162 by tim.plunkett, Transition, Dave Reid, joachim: Taxonomy bundles not supported by EntityFieldQuery (followup).
parent 9d3e5e4c
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -213,9 +213,7 @@ class EntityFieldQuery {
*
* 'bundle', 'revision_id' and 'entity_id' have no such restrictions.
*
* Note: The "comment" and "taxonomy_term" entity types don't support bundle
* conditions. For "taxonomy_term", propertyCondition('vid') can be used
* instead.
* Note: The "comment" entity type does not support bundle conditions.
*
* @param $name
* 'entity_type', 'bundle', 'revision_id' or 'entity_id'.
......
......@@ -1680,7 +1680,7 @@ function taxonomy_taxonomy_term_delete(Term $term) {
* Converts EntityFieldQuery instances on taxonomy terms that have an entity
* condition on term bundles (vocabulary machine names). Since the vocabulary
* machine name is not present in the {taxonomy_term_data} table itself, we have
* to convert the bundle condition into a proprety condition of vocabulary IDs
* to convert the bundle condition into a property condition of vocabulary IDs
* to match against {taxonomy_term_data}.vid.
*/
function taxonomy_entity_query_alter($query) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment