You are here

function update_test_no_preexisting_update_8001 in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/update_test_no_preexisting/update_test_no_preexisting.install \update_test_no_preexisting_update_8001()
  2. 9 core/modules/system/tests/modules/update_test_no_preexisting/update_test_no_preexisting.install \update_test_no_preexisting_update_8001()

Dummy update_test_no_preexisting update 8001.

1 string reference to 'update_test_no_preexisting_update_8001'
NoPreExistingSchemaUpdateTest::testNoPreExistingSchema in core/modules/system/tests/src/Functional/UpdateSystem/NoPreExistingSchemaUpdateTest.php
Tests the system module updates with no dependencies installed.

File

core/modules/system/tests/modules/update_test_no_preexisting/update_test_no_preexisting.install, line 11
Install, update and uninstall functions for the update_test_no_preexisting module.

Code

function update_test_no_preexisting_update_8001() {
  \Drupal::state()
    ->set('update_test_no_preexisting_update_8001', TRUE);
}