class JsDeprecationTestController
Same name in other branches
- 9 core/modules/system/tests/modules/js_deprecation_test/src/Controller/JsDeprecationTestController.php \Drupal\js_deprecation_test\Controller\JsDeprecationTestController
- 10 core/modules/system/tests/modules/js_deprecation_test/src/Controller/JsDeprecationTestController.php \Drupal\js_deprecation_test\Controller\JsDeprecationTestController
- 11.x core/modules/system/tests/modules/js_deprecation_test/src/Controller/JsDeprecationTestController.php \Drupal\js_deprecation_test\Controller\JsDeprecationTestController
Test Controller to show message links.
Hierarchy
- class \Drupal\js_deprecation_test\Controller\JsDeprecationTestController
Expanded class hierarchy of JsDeprecationTestController
File
-
core/
modules/ system/ tests/ modules/ js_deprecation_test/ src/ Controller/ JsDeprecationTestController.php, line 8
Namespace
Drupal\js_deprecation_test\ControllerView source
class JsDeprecationTestController {
/**
* Renders page that has js_deprecation_test/deprecation library attached.
*
* @return array
* Render array.
*/
public function jsDeprecationTest() {
return [
'#attached' => [
'library' => [
'js_deprecation_test/deprecation_test',
],
],
];
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
JsDeprecationTestController::jsDeprecationTest | public | function | Renders page that has js_deprecation_test/deprecation library attached. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.