function LegacyFileTest::testViewsFileStatus

Tests the deprecation of _views_file_status().

@group legacy

File

core/modules/file/tests/src/Kernel/LegacyFileTest.php, line 39

Class

LegacyFileTest
Tests deprecated file functions.

Namespace

Drupal\Tests\file\Kernel

Code

public function testViewsFileStatus() {
    $this->expectDeprecation('_views_file_status() is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. There is no replacement. See https://www.drupal.org/node/3227228');
    $this->assertIsArray(_views_file_status());
}

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