function EditorDeprecationTest::testEditorLinkDialog
Tests the deprecation of the Drupal\editor\Form\EditorLinkDialog class.
See also
File
-
core/
modules/ editor/ tests/ src/ Kernel/ EditorDeprecationTest.php, line 29
Class
- EditorDeprecationTest
- Tests the deprecations in Drupal\editor.
Namespace
Drupal\Tests\editor\KernelCode
public function testEditorLinkDialog() : void {
$this->expectDeprecation('Drupal\\editor\\Form\\EditorLinkDialog is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. See https://www.drupal.org/node/3291493');
new EditorLinkDialog();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.