Commit 6211b5d7 authored by Cottser's avatar Cottser

Issue #2901692 by tim.plunkett, EclipseGc: FieldDefinitionIntegrityTest does...

Issue #2901692 by tim.plunkett, EclipseGc: FieldDefinitionIntegrityTest does not respect experimental modules
parent 47028f4d
......@@ -25,12 +25,13 @@ public function testFieldPluginDefinitionIntegrity() {
// Enable all core modules that provide field plugins.
$modules = system_rebuild_module_data();
$modules = array_filter($modules, function (Extension $module) {
// Filter contrib, hidden, already enabled modules and modules in the
// Testing package.
// Filter contrib, hidden, experimental, already enabled modules, and
// modules in the Testing package.
if ($module->origin === 'core'
&& empty($module->info['hidden'])
&& $module->status == FALSE
&& $module->info['package'] !== 'Testing'
&& $module->info['package'] !== 'Core (Experimental)'
&& is_readable($module->getPath() . '/src/Plugin/Field')) {
return TRUE;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment