function JsDeprecationTestController::jsDeprecationTest
Renders page that has js_deprecation_test/deprecation library attached.
Return value
array Render array.
1 string reference to 'JsDeprecationTestController::jsDeprecationTest'
- js_deprecation_test.routing.yml in core/modules/ system/ tests/ modules/ js_deprecation_test/ js_deprecation_test.routing.yml 
- core/modules/system/tests/modules/js_deprecation_test/js_deprecation_test.routing.yml
File
- 
              core/modules/ system/ tests/ modules/ js_deprecation_test/ src/ Controller/ JsDeprecationTestController.php, line 16 
Class
- JsDeprecationTestController
- Test Controller to show message links.
Namespace
Drupal\js_deprecation_test\ControllerCode
public function jsDeprecationTest() {
  return [
    '#attached' => [
      'library' => [
        'js_deprecation_test/deprecation_test',
      ],
    ],
  ];
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
