update_script_test.install

Same filename in other branches
  1. 7.x modules/simpletest/tests/update_script_test.install
  2. 9 core/modules/system/tests/modules/update_script_test/update_script_test.install
  3. 8.9.x core/modules/system/tests/modules/update_script_test/update_script_test.install
  4. 10 core/modules/system/tests/modules/update_script_test/update_script_test.install

File

core/modules/system/tests/modules/update_script_test/update_script_test.install

View source
<?php


/**
 * @file
 * Install, update and uninstall functions for the update_script_test module.
 */
declare (strict_types=1);

/**
 * Implements hook_update_last_removed().
 */
function update_script_test_update_last_removed() : int {
    return 7110;
}

/**
 * Dummy update_script_test update 7200.
 */
function update_script_test_update_7200() : string {
    return 'The update_script_test_update_7200() update was executed successfully.';
}

/**
 * Dummy update_script_test update 7201.
 */
function update_script_test_update_7201() : string {
    return 'The update_script_test_update_7201() update was executed successfully.';
}

/**
 * Dummy update function to run during the tests.
 */
function update_script_test_update_8001() : string {
    return 'The update_script_test_update_8001() update was executed successfully.';
}

Functions

Title Deprecated Summary
update_script_test_update_7200 Dummy update_script_test update 7200.
update_script_test_update_7201 Dummy update_script_test update 7201.
update_script_test_update_8001 Dummy update function to run during the tests.
update_script_test_update_last_removed Implements hook_update_last_removed().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.