protected function TestBase::getConfigSchemaExclusions in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/simpletest/src/TestBase.php \Drupal\simpletest\TestBase::getConfigSchemaExclusions()
Gets the config schema exclusions for this test.
Return value
string[] An array of config object names that are excluded from schema checking.
1 call to TestBase::getConfigSchemaExclusions()
- WebTestBase::prepareSettings in core/
modules/ simpletest/ src/ WebTestBase.php - Prepares site settings and services before installation.
File
- core/
modules/ simpletest/ src/ TestBase.php, line 1646 - Contains \Drupal\simpletest\TestBase.
Class
- TestBase
- Base class for Drupal tests.
Namespace
Drupal\simpletestCode
protected function getConfigSchemaExclusions() {
$class = get_class($this);
$exceptions = [];
while ($class) {
if (property_exists($class, 'configSchemaCheckerExclusions')) {
$exceptions = array_merge($exceptions, $class::$configSchemaCheckerExclusions);
}
$class = get_parent_class($class);
}
// Filter out any duplicates.
return array_unique($exceptions);
}