trait SchemaCheckTestTrait in Drupal 8
Same name in this branch
- 8 core/tests/Drupal/Tests/SchemaCheckTestTrait.php \Drupal\Tests\SchemaCheckTestTrait
- 8 core/modules/config/src/Tests/SchemaCheckTestTrait.php \Drupal\config\Tests\SchemaCheckTestTrait
Provides a class for checking configuration schema.
Hierarchy
- trait \Drupal\config\Tests\SchemaCheckTestTrait uses SchemaCheckTestTrait
Deprecated
in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\Tests\SchemaCheckTestTrait instead.
File
- core/
modules/ config/ src/ Tests/ SchemaCheckTestTrait.php, line 13
Namespace
Drupal\config\TestsView source
trait SchemaCheckTestTrait {
use \Drupal\Tests\SchemaCheckTestTrait;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SchemaCheckTestTrait:: |
public | function | Asserts the TypedConfigManager has a valid schema for the configuration. | |
SchemaCheckTestTrait:: |
public | function | Asserts configuration, specified by name, has a valid schema. | |
SchemaCheckTrait:: |
protected | property | The configuration object name under test. | |
SchemaCheckTrait:: |
protected | property | The config schema wrapper object for the configuration object under test. | |
SchemaCheckTrait:: |
public | function | Checks the TypedConfigManager has a valid schema for the configuration. | |
SchemaCheckTrait:: |
protected | function | Helper method to check data type. |