function LocaleDeprecationsTest::testLocaleTranslationManualStatusDeprecation

@expectedDeprecation locale_translation_manual_status() is deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. It is unused by Drupal core. Duplicate this function in your own extension if you need its behavior.

File

core/modules/locale/tests/src/Kernel/LocaleDeprecationsTest.php, line 25

Class

LocaleDeprecationsTest
Tests deprecations in the locale module.

Namespace

Drupal\Tests\locale\Kernel

Code

public function testLocaleTranslationManualStatusDeprecation() {
    module_load_include('pages.inc', 'locale');
    $this->assertNotNull(\locale_translation_manual_status());
}

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