protected function Manager::getTermsQuery in Taxonomy Term Depth 8
Same name and namespace in other branches
- 8.2 src/QueueManager/Manager.php \Drupal\taxonomy_term_depth\QueueManager\Manager::getTermsQuery()
1 call to Manager::getTermsQuery()
- Manager::queueBatch in src/
QueueManager/ Manager.php
File
- src/
QueueManager/ Manager.php, line 119 - Manages queue operations.
Class
Namespace
Drupal\taxonomy_term_depth\QueueManagerCode
protected function getTermsQuery() {
$query = \Drupal::database()
->select('taxonomy_term_field_data', 'td');
$query
->fields('td', [
'tid',
]);
if ($this->vid !== NULL) {
$query
->condition('td.vid', $this->vid);
}
return $query;
}