Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Og
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lee vanHalderen
Og
Commits
2a8ed3ce
Commit
2a8ed3ce
authored
5 years ago
by
Pieter Frenssen
Browse files
Options
Downloads
Patches
Plain Diff
Update documentation.
parent
ead9dd35
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Plugin/EntityReferenceSelection/OgSelection.php
+1
-1
1 addition, 1 deletion
src/Plugin/EntityReferenceSelection/OgSelection.php
tests/src/Kernel/SelectionHandlerSettingsSchemaTest.php
+5
-1
5 additions, 1 deletion
tests/src/Kernel/SelectionHandlerSettingsSchemaTest.php
with
6 additions
and
2 deletions
src/Plugin/EntityReferenceSelection/OgSelection.php
+
1
−
1
View file @
2a8ed3ce
...
...
@@ -36,7 +36,7 @@ class OgSelection extends DefaultSelection {
// to choose the best option.
// @see \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManager::getInstance()
unset
(
$options
[
'handler'
]);
// Remove also
d
e backwards compatibility layer because that will be passed
// Remove also
th
e backwards compatibility layer because that will be passed
// to the chosen selection handler setter and, as an effect, will trigger a
// deprecation notice.
// @see \Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginBase::resolveBackwardCompatibilityConfiguration()
...
...
This diff is collapsed.
Click to expand it.
tests/src/Kernel/SelectionHandlerSettingsSchemaTest.php
+
5
−
1
View file @
2a8ed3ce
...
...
@@ -39,7 +39,11 @@ class SelectionHandlerSettingsSchemaTest extends KernelTestBase {
$node_type
->
og_target_type
=
'node'
;
$node_type
->
og_target_bundles
=
[
$bundle
];
$node_type
->
save
();
// Provide at least one assertion.
// This test leverages the ConfigSchemaChecker that is included in the core
// test runner to validate that the schema is correct. However PHPUnit will
// mark this test as risky if we do not do any assertions. Work around this
// by including a fake assertion.
$this
->
assertTrue
(
TRUE
);
}
...
...
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