VL
Term::load()
? 😁Size: a a a
VL
Term::load()
? 😁VL
Term::load()
? 😁АК
Term::load()
? 😁VL
Term::load()
? 😁C
Term::loadMultiple()
как минимум, как максимум простой запрос в базуC
VL
VL
C
$query = $this->database->select($this->getDataTable(), 't');
$query->join('taxonomy_term__parent', 'p', 't.tid = p.entity_id');
$query->addExpression('parent_target_id', 'parent');
$result = $query
->addTag('taxonomy_term_access')
->fields('t')
->condition('t.vid', $vid)
->condition('t.default_langcode', 1)
->orderBy('t.weight')
->orderBy('t.name')
->execute();
C
VL
C
VL
C
VL
VL
АК
C
VL
АК