*
* @param array $tids
* Array of terms that need to be removed from hierarchy.
+ *
+ * @todo Remove this method in Drupal 9.0.x. Now the parent references are
+ * automatically cleared when deleting a taxonomy term.
+ * https://www.drupal.org/node/2785693
*/
public function deleteTermHierarchy($tids);
*
* @param \Drupal\Core\Entity\EntityInterface $term
* Term entity that needs to be added to term hierarchy information.
+ *
+ * @todo remove this method Drupal 9.0.x. Now the parent references are
+ * automatically updates when when a taxonomy term is added/updated.
+ * https://www.drupal.org/node/2785693
*/
public function updateTermHierarchy(EntityInterface $term);