Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3486574
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
drupal-3486574
Commits
4e84c208
Commit
4e84c208
authored
6 months ago
by
Scott Euser
Browse files
Options
Downloads
Patches
Plain Diff
PHP static analysis
parent
c7f32abe
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#334737
failed
6 months ago
Stage: 🪄 Lint
Stage: 🗜️ Test
Pipeline: drupal-3486574
#334738
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/modules/system/tests/modules/ajax_forms_test/src/Callbacks.php
+2
-2
2 additions, 2 deletions
...es/system/tests/modules/ajax_forms_test/src/Callbacks.php
with
2 additions
and
2 deletions
core/modules/system/tests/modules/ajax_forms_test/src/Callbacks.php
+
2
−
2
View file @
4e84c208
...
...
@@ -69,7 +69,7 @@ public function imageButtonCallback($form, FormStateInterface $form_state) {
/**
* Ajax callback to confirm update a table row from outside the table.
*/
public
function
outsideTableCallback
(
$form
,
FormStateInterface
$form_state
)
{
public
function
outsideTableCallback
(
$form
,
FormStateInterface
$form_state
)
:
AjaxResponse
{
$response
=
new
AjaxResponse
();
$response
->
addCommand
(
new
HtmlCommand
(
'#ajax_table_row_result'
,
'Outside table result'
));
return
$response
;
...
...
@@ -78,7 +78,7 @@ public function outsideTableCallback($form, FormStateInterface $form_state) {
/**
* Ajax callback to confirm update a table row from inside the table.
*/
public
function
insideTableCallback
(
$form
,
FormStateInterface
$form_state
)
{
public
function
insideTableCallback
(
$form
,
FormStateInterface
$form_state
)
:
AjaxResponse
{
$response
=
new
AjaxResponse
();
$response
->
addCommand
(
new
HtmlCommand
(
'#ajax_table_row_result'
,
'Inside table result'
));
return
$response
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment