summaryrefslogtreecommitdiffstats
path: root/core/modules/taxonomy/taxonomy.install
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/taxonomy/taxonomy.install')
-rw-r--r--core/modules/taxonomy/taxonomy.install5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/modules/taxonomy/taxonomy.install b/core/modules/taxonomy/taxonomy.install
index c0e292d..143962f 100644
--- a/core/modules/taxonomy/taxonomy.install
+++ b/core/modules/taxonomy/taxonomy.install
@@ -138,9 +138,10 @@ function taxonomy_update_8601() {
// Bail out early if a field named 'status' is already installed.
if ($definition_update_manager->getFieldStorageDefinition('status', 'taxonomy_term')) {
- return t('The publishing status field has <strong>not</strong> been added to taxonomy terms. See <a href=":link">this page</a> for more information on how to install it.', [
+ $message = \Drupal::state()->get('taxonomy_update_8601_skip_message', t('The publishing status field has <strong>not</strong> been added to taxonomy terms. See <a href=":link">this page</a> for more information on how to install it.', [
':link' => 'https://www.drupal.org/node/2985366',
- ]);
+ ]));
+ return $message;
}
// Add the 'published' entity key to the taxonomy_term entity type.