comparison core/modules/taxonomy/src/TermStorageInterface.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children af1871eacc83
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
13 /** 13 /**
14 * Removed reference to terms from term_hierarchy. 14 * Removed reference to terms from term_hierarchy.
15 * 15 *
16 * @param array $tids 16 * @param array $tids
17 * Array of terms that need to be removed from hierarchy. 17 * Array of terms that need to be removed from hierarchy.
18 *
19 * @todo Remove this method in Drupal 9.0.x. Now the parent references are
20 * automatically cleared when deleting a taxonomy term.
21 * https://www.drupal.org/node/2785693
18 */ 22 */
19 public function deleteTermHierarchy($tids); 23 public function deleteTermHierarchy($tids);
20 24
21 /** 25 /**
22 * Updates terms hierarchy information with the hierarchy trail of it. 26 * Updates terms hierarchy information with the hierarchy trail of it.
23 * 27 *
24 * @param \Drupal\Core\Entity\EntityInterface $term 28 * @param \Drupal\Core\Entity\EntityInterface $term
25 * Term entity that needs to be added to term hierarchy information. 29 * Term entity that needs to be added to term hierarchy information.
30 *
31 * @todo remove this method Drupal 9.0.x. Now the parent references are
32 * automatically updates when when a taxonomy term is added/updated.
33 * https://www.drupal.org/node/2785693
26 */ 34 */
27 public function updateTermHierarchy(EntityInterface $term); 35 public function updateTermHierarchy(EntityInterface $term);
28 36
29 /** 37 /**
30 * Finds all parents of a given term ID. 38 * Finds all parents of a given term ID.