summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcatch2012-08-07 22:39:19 (GMT)
committercatch2012-08-07 22:39:19 (GMT)
commit00fbe484443ea81431781ab486b7547b2a23700d (patch)
tree4c7d4f1b50ee5d7412ee94c5bdbfd82e185f3ca6
parent9d3e5e4cddae06c4290f31ffe07a1e3164a3f902 (diff)
Issue #1054162 by tim.plunkett, Transition, Dave Reid, joachim: Taxonomy bundles not supported by EntityFieldQuery (followup).
-rw-r--r--core/modules/entity/lib/Drupal/entity/EntityFieldQuery.php4
-rw-r--r--core/modules/taxonomy/taxonomy.module2
2 files changed, 2 insertions, 4 deletions
diff --git a/core/modules/entity/lib/Drupal/entity/EntityFieldQuery.php b/core/modules/entity/lib/Drupal/entity/EntityFieldQuery.php
index 8cc15b8..fc283fc 100644
--- a/core/modules/entity/lib/Drupal/entity/EntityFieldQuery.php
+++ b/core/modules/entity/lib/Drupal/entity/EntityFieldQuery.php
@@ -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'.
diff --git a/core/modules/taxonomy/taxonomy.module b/core/modules/taxonomy/taxonomy.module
index 76f94dd..66c78e1 100644
--- a/core/modules/taxonomy/taxonomy.module
+++ b/core/modules/taxonomy/taxonomy.module
@@ -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) {