protected function ConfigEntityQuery::buildConditions in Configuration Views 8
Same name and namespace in other branches
- 2.0.x src/Plugin/views/query/ConfigEntityQuery.php \Drupal\config_views\Plugin\views\query\ConfigEntityQuery::buildConditions()
Build conditions based on it's groups.
1 call to ConfigEntityQuery::buildConditions()
- ConfigEntityQuery::execute in src/
Plugin/ views/ query/ ConfigEntityQuery.php - Executes query and fills the associated view object with according values.
File
- src/
Plugin/ views/ query/ ConfigEntityQuery.php, line 138
Class
- ConfigEntityQuery
- This query is able to work with config entities.
Namespace
Drupal\config_views\Plugin\views\queryCode
protected function buildConditions() {
foreach ($this->commands as $group => $grouped_commands) {
$conditionGroup = $this
->getConditionGroup($group);
foreach ($grouped_commands as $command) {
call_user_func_array([
$conditionGroup,
$command['method'],
], $command['args']);
}
}
}