Skip to content
Snippets Groups Projects

Test case

Open Michael Strelan requested to merge issue/csp-3470867:3470867-page-attachments into 2.x
1 unresolved thread
3 files
+ 63
0
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -116,4 +116,17 @@ class TestPageController extends ControllerBase {
];
}
/**
* Returns a test page that will have its attachments altered.
*
* @return array<string, mixed>
* A render array.
*/
public function testPageAttachmentsNonce(): array {
return [
'#title' => 'Test page',
'#markup' => 'Test page text.',
];
}
}
Loading