class JsErrorsTestController
Test Controller loading js_errors_test/errors_test library.
Hierarchy
- class \Drupal\js_errors_test\Controller\JsErrorsTestController
Expanded class hierarchy of JsErrorsTestController
File
- 
              core/modules/ system/ tests/ modules/ js_errors_test/ src/ Controller/ JsErrorsTestController.php, line 8 
Namespace
Drupal\js_errors_test\ControllerView source
class JsErrorsTestController {
  
  /**
   * Renders page that has js_errors_test/errors_test library attached.
   *
   * @return string[][]
   *   Render array.
   */
  public function jsErrorsTest() : array {
    return [
      '#attached' => [
        'library' => [
          'js_errors_test/errors_test',
        ],
      ],
    ];
  }
}Members
| Title Sort descending | Modifiers | Object type | Summary | 
|---|---|---|---|
| JsErrorsTestController::jsErrorsTest | public | function | Renders page that has js_errors_test/errors_test library attached. | 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
