Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
project_browser-3279663
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
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
project_browser-3279663
Commits
cffb0c6e
Commit
cffb0c6e
authored
2 years ago
by
Fran Garcia-Linares
Committed by
Fran Garcia-Linares
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Only map if available.
parent
7ffed1a9
No related branches found
Branches containing commit
Tags
7.x-2.0-beta1
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Plugin/ProjectBrowserSource/MockDrupalDotOrg.php
+4
-0
4 additions, 0 deletions
src/Plugin/ProjectBrowserSource/MockDrupalDotOrg.php
with
4 additions
and
0 deletions
src/Plugin/ProjectBrowserSource/MockDrupalDotOrg.php
+
4
−
0
View file @
cffb0c6e
...
...
@@ -117,6 +117,10 @@ class MockDrupalDotOrg extends PluginBase implements ProjectBrowserSourceInterfa
* {@inheritdoc}
*/
public
function
getProjects
(
array
$query
=
[])
:
ProjectsResultsPage
{
// https://www.drupal.org/project/project_browser/issues/3279676
if
(
!
empty
(
$query
[
'categories'
]))
{
$query
[
'taxonomy_vocabulary_3'
]
=
$query
[
'categories'
];
}
$api_response
=
$this
->
fetchProjects
(
$query
);
// Iterate through and turn each into a
...
...
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