public function EntityFieldQuery::fieldLanguageCondition
public EntityFieldQuery::fieldLanguageCondition($field, $value = NULL, $operator = NULL, $delta_group = NULL, $language_group = NULL)
Adds a condition on the field language column.
Parameters
$field: Either a field name or a field array.
$value: The value to test the column value against.
$operator: The operator to be used to test the given value.
$delta_group: An arbitrary identifier: conditions in the same group must have the same $delta_group.
$language_group: An arbitrary identifier: conditions in the same group must have the same $language_group.
Return value
EntityFieldQuery The called object.
See also
EntityFieldQuery::addFieldCondition
EntityFieldQuery::deleted
File
- includes/entity.inc, line 757
Class
- EntityFieldQuery
- Retrieves entities matching a given set of conditions.
Code
public function fieldLanguageCondition($field, $value = NULL, $operator = NULL, $delta_group = NULL, $language_group = NULL) { return $this->addFieldCondition($this->fieldMetaConditions, $field, 'language', $value, $operator, $delta_group, $language_group); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!entity.inc/function/EntityFieldQuery::fieldLanguageCondition/7.x