Commit 00fbe484 authored by catch's avatar catch

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
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment