Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/taxonomy/src/TermStorageInterface.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
124 * @return array | 124 * @return array |
125 * An array of nids and the term entities they were tagged with. | 125 * An array of nids and the term entities they were tagged with. |
126 */ | 126 */ |
127 public function getNodeTerms(array $nids, array $vocabs = [], $langcode = NULL); | 127 public function getNodeTerms(array $nids, array $vocabs = [], $langcode = NULL); |
128 | 128 |
129 /** | |
130 * Returns the hierarchy type for a specific vocabulary ID. | |
131 * | |
132 * @param string $vid | |
133 * Vocabulary ID to retrieve the hierarchy type for. | |
134 * | |
135 * @return int | |
136 * The vocabulary hierarchy. | |
137 * Possible values: | |
138 * - VocabularyInterface::HIERARCHY_DISABLED: No parents. | |
139 * - VocabularyInterface::HIERARCHY_SINGLE: Single parent. | |
140 * - VocabularyInterface::HIERARCHY_MULTIPLE: Multiple parents. | |
141 */ | |
142 public function getVocabularyHierarchyType($vid); | |
143 | |
144 /** | |
145 * Gets a list of term IDs with pending revisions. | |
146 * | |
147 * @return int[] | |
148 * An array of term IDs which have pending revisions, keyed by their | |
149 * revision IDs. | |
150 * | |
151 * @internal | |
152 */ | |
153 public function getTermIdsWithPendingRevisions(); | |
154 | |
129 } | 155 } |