Loading core/modules/layout_builder/src/Element/LayoutBuilder.php +3 −0 Original line number Diff line number Diff line Loading @@ -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() */ Loading Loading @@ -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 core/phpcs.xml.dist +1 −6 Original line number Diff line number Diff line Loading @@ -73,12 +73,7 @@ <include-pattern>*/Unit/*</include-pattern> </rule> <rule ref="Drupal.Commenting.FunctionComment.MissingParamType"/> <rule ref="Drupal.Commenting.FunctionComment.MissingReturnComment"> <include-pattern>core/lib/Drupal/Core/*</include-pattern> <include-pattern>core/lib/Drupal/Component/*</include-pattern> <include-pattern>core/tests/*</include-pattern> <include-pattern>core/*/tests/*</include-pattern> </rule> <rule ref="Drupal.Commenting.FunctionComment.MissingReturnComment"/> <rule ref="Drupal.Commenting.GenderNeutralComment"/> <rule ref="Drupal.Commenting.HookComment"/> <rule ref="Drupal.Commenting.InlineComment"> Loading Loading
core/modules/layout_builder/src/Element/LayoutBuilder.php +3 −0 Original line number Diff line number Diff line Loading @@ -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() */ Loading Loading @@ -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
core/phpcs.xml.dist +1 −6 Original line number Diff line number Diff line Loading @@ -73,12 +73,7 @@ <include-pattern>*/Unit/*</include-pattern> </rule> <rule ref="Drupal.Commenting.FunctionComment.MissingParamType"/> <rule ref="Drupal.Commenting.FunctionComment.MissingReturnComment"> <include-pattern>core/lib/Drupal/Core/*</include-pattern> <include-pattern>core/lib/Drupal/Component/*</include-pattern> <include-pattern>core/tests/*</include-pattern> <include-pattern>core/*/tests/*</include-pattern> </rule> <rule ref="Drupal.Commenting.FunctionComment.MissingReturnComment"/> <rule ref="Drupal.Commenting.GenderNeutralComment"/> <rule ref="Drupal.Commenting.HookComment"/> <rule ref="Drupal.Commenting.InlineComment"> Loading