Skip to content
Snippets Groups Projects

enable FunctionComment.MissingReturnComment

2 files
+ 4
6
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -123,6 +123,8 @@ public static function layoutBuilderElementGetKeys(array $element, FormStateInte
* The rendered form.
*
* @return array
* Renders the layout builder element, if it exists, and adds it to the
* form.
*
* @see ::addRenderedLayoutBuilder()
*/
@@ -150,6 +152,7 @@ public static function renderLayoutBuilderAfterForm(array $form): array {
* The form render array.
*
* @return string
* The render string with any layout builder markup added.
*/
#[TrustedCallback]
public static function addRenderedLayoutBuilder(string $html, array $form): string {
Loading