upgrade_status-8.x-2.11/tests/modules/upgrade_status_test_contrib_error/upgrade_status_test_contrib_error.module

tests/modules/upgrade_status_test_contrib_error/upgrade_status_test_contrib_error.module
<?php

/**
 * Tests function deprecation detection from Drupal 9 to 10.
 *
 * @deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use the
 *   replacement instead.
 */
function upgrade_status_test_contrib_error_function_9_to_10() {
  @trigger_error("upgrade_status_test_contrib_error_function_9_to_10() is deprecated in Drupal 9.1.0 and will be removed before Drupal 10.0.0. Use the replacement instead. See LINK", E_USER_DEPRECATED);
}

/**
 * Tests function deprecation detection from Drupal 9 to 11.
 *
 * @deprecated in drupal:9.1.0 and is removed from drupal:11.0.0. Use the
 *   replacement instead.
 */
function upgrade_status_test_contrib_error_function_9_to_11() {
  @trigger_error("upgrade_status_test_contrib_error_function_9_to_11() is deprecated in Drupal 9.1.0 and will be removed before Drupal 11.0.0. Use the replacement instead. See LINK", E_USER_DEPRECATED);
}

/**
 * Tests function deprecation detection from Drupal 10.3 to 11.0.
 *
 * @deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. Use the
 *   replacement instead.
 */
function upgrade_status_test_contrib_error_function_10_to_11() {
  @trigger_error("upgrade_status_test_contrib_error_function_10_to_11() is deprecated in Drupal 10.3.0 and will be removed before Drupal 11.0.0. Use the replacement instead. See LINK", E_USER_DEPRECATED);
}

/**
 * Tests function deprecation detection from Drupal 10.0 to 12.0.
 *
 * @deprecated in drupal:10.0.0 and is removed from drupal:12.0.0. Use the
 *   replacement instead.
 */
function upgrade_status_test_contrib_error_function_10_to_12() {
  @trigger_error("upgrade_status_test_contrib_error_function_10_to_12() is deprecated in Drupal 10.0.0 and will be removed before Drupal 12.0.0. Use the replacement instead. See LINK", E_USER_DEPRECATED);
}

/**
 * Tests function deprecation detection from Drupal 11.1 to 13.0
 *
 * @deprecated in drupal:11.1.0 and is removed from drupal:13.0.0. Use the
 *   replacement instead.
 */
function upgrade_status_test_contrib_error_function_11_to_13() {
  @trigger_error("upgrade_status_test_contrib_error_function_11_to_13() is deprecated in Drupal 11.1.0 and will be removed before Drupal 13.0.0. Use the replacement instead. See LINK", E_USER_DEPRECATED);
}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc