function LegacyLibraryDiscoveryTest::testJqueryUiSelectable
Tests that the jquery.ui.selectable library is deprecated.
@expectedDeprecation The "core/jquery.ui.selectable" asset library is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. See https://www.drupal.org/node/3067969 @doesNotPerformAssertions
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Asset/ LegacyLibraryDiscoveryTest.php, line 246
Class
- LegacyLibraryDiscoveryTest
- Tests that deprecated asset libraries trigger a deprecation error.
Namespace
Drupal\KernelTests\Core\AssetCode
public function testJqueryUiSelectable() {
$this->libraryDiscovery
->getLibraryByName('core', 'jquery.ui.selectable');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.