Mercurial > hg > isophonics-drupal-site
comparison core/modules/taxonomy/src/VocabularyInterface.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
17:129ea1e6d783 | 18:af1871eacc83 |
---|---|
27 /** | 27 /** |
28 * Returns the vocabulary hierarchy. | 28 * Returns the vocabulary hierarchy. |
29 * | 29 * |
30 * @return int | 30 * @return int |
31 * The vocabulary hierarchy. | 31 * The vocabulary hierarchy. |
32 * | |
33 * @deprecated in Drupal 8.7.x and will be removed before Drupal 9.0.x. Use | |
34 * \Drupal\taxonomy\TermStorage::getVocabularyHierarchyType() instead. | |
32 */ | 35 */ |
33 public function getHierarchy(); | 36 public function getHierarchy(); |
34 | 37 |
35 /** | 38 /** |
36 * Sets the vocabulary hierarchy. | 39 * Sets the vocabulary hierarchy. |
41 * - VocabularyInterface::HIERARCHY_DISABLED: No parents. | 44 * - VocabularyInterface::HIERARCHY_DISABLED: No parents. |
42 * - VocabularyInterface::HIERARCHY_SINGLE: Single parent. | 45 * - VocabularyInterface::HIERARCHY_SINGLE: Single parent. |
43 * - VocabularyInterface::HIERARCHY_MULTIPLE: Multiple parents. | 46 * - VocabularyInterface::HIERARCHY_MULTIPLE: Multiple parents. |
44 * | 47 * |
45 * @return $this | 48 * @return $this |
49 * | |
50 * @deprecated in Drupal 8.7.x and will be removed before Drupal 9.0.x. Reset | |
51 * the cache of the taxonomy_term storage handler instead. | |
46 */ | 52 */ |
47 public function setHierarchy($hierarchy); | 53 public function setHierarchy($hierarchy); |
48 | 54 |
49 /** | 55 /** |
50 * Returns the vocabulary description. | 56 * Returns the vocabulary description. |