Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/taxonomy/taxonomy.install @ 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 |
---|---|
184 $definition_update_manager->uninstallFieldStorageDefinition($content_translation_status); | 184 $definition_update_manager->uninstallFieldStorageDefinition($content_translation_status); |
185 } | 185 } |
186 | 186 |
187 return t('The publishing status field has been added to taxonomy terms.'); | 187 return t('The publishing status field has been added to taxonomy terms.'); |
188 } | 188 } |
189 | |
190 /** | |
191 * Add an index on the 'taxonomy_term__parent' field table. | |
192 */ | |
193 function taxonomy_update_8701() { | |
194 $entity_definition_update_manager = \Drupal::entityDefinitionUpdateManager(); | |
195 $storage_definition = $entity_definition_update_manager->getFieldStorageDefinition('parent', 'taxonomy_term'); | |
196 $entity_definition_update_manager->updateFieldStorageDefinition($storage_definition); | |
197 } |