Skip to content
Snippets Groups Projects
Commit 2a8ed3ce authored by Pieter Frenssen's avatar Pieter Frenssen
Browse files

Update documentation.

parent ead9dd35
No related branches found
No related tags found
Loading
......@@ -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 de backwards compatibility layer because that will be passed
// Remove also the 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()
......
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment