Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
22f67831
Verified
Commit
22f67831
authored
Sep 22, 2019
by
Lee Rowlands
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3081679
by eiriksm: AjaxResponse::getCommands has wrong return type
parent
932a453f
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/lib/Drupal/Core/Ajax/AjaxResponse.php
+2
-2
2 additions, 2 deletions
core/lib/Drupal/Core/Ajax/AjaxResponse.php
with
2 additions
and
2 deletions
core/lib/Drupal/Core/Ajax/AjaxResponse.php
+
2
−
2
View file @
22f67831
...
...
@@ -58,8 +58,8 @@ public function addCommand(CommandInterface $command, $prepend = FALSE) {
/**
* Gets all AJAX commands.
*
* @return
\Drupal\Core\Ajax\CommandInterface[]
* Returns all previously added
AJAX
commands.
* @return
array
* Returns
render arrays for
all previously added commands.
*/
public
function
&
getCommands
()
{
return
$this
->
commands
;
...
...
This diff is collapsed.
Click to expand it.
Lee Rowlands
@larowlan
mentioned in commit
abb48876
·
Sep 22, 2019
mentioned in commit
abb48876
mentioned in commit abb488768c8e52df47ff5dc03cb5785e9f1dbfd1
Toggle commit list
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