41 calls to ConfigEntityValidationTestBase::assertValidationErrors()
- ActionValidationTest::testInvalidPluginId in core/
modules/ system/ tests/ src/ Kernel/ Entity/ ActionValidationTest.php - Tests that the action plugin ID is validated.
- BaseFieldOverrideValidationTest::testFieldTypePluginIsValidated in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ BaseFieldOverrideValidationTest.php - Tests that the field type plugin's existence is validated.
- BaseFieldOverrideValidationTest::testTargetBundleMustExist in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ BaseFieldOverrideValidationTest.php - Tests that the target bundle of the field is checked.
- BlockValidationTest::testInvalidPluginId in core/
modules/ block/ tests/ src/ Kernel/ BlockValidationTest.php - Tests validating a block with an unknown plugin ID.
- BlockValidationTest::testLabelValidation in core/
modules/ block/ tests/ src/ Kernel/ BlockValidationTest.php - Tests validation of config entity's label.
- ConfigEntityValidationTestBase::testConfigDependenciesValidation in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigEntityValidationTestBase.php - Tests validation of config dependencies.
- ConfigEntityValidationTestBase::testEntityIsValid in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigEntityValidationTestBase.php - Ensures that the entity created in ::setUp() has no validation errors.
- ConfigEntityValidationTestBase::testImmutableProperties in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigEntityValidationTestBase.php - Tests that immutable properties cannot be changed.
- ConfigEntityValidationTestBase::testInvalidMachineNameCharacters in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigEntityValidationTestBase.php - Tests that the entity's ID is tested for invalid characters.
- ConfigEntityValidationTestBase::testLabelValidation in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigEntityValidationTestBase.php - Tests validation of config entity's label.
- ConfigEntityValidationTestBase::testLangcode in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigEntityValidationTestBase.php - Tests that the config entity's langcode is validated.
- ConfigEntityValidationTestBase::testMachineNameLength in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigEntityValidationTestBase.php - Tests that the entity ID's length is validated if it is a machine name.
- ConfigEntityValidationTestBase::testRequiredPropertyKeysMissing in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigEntityValidationTestBase.php - A property that is required must have a value (i.e. not NULL).
- ConfigEntityValidationTestBase::testRequiredPropertyValuesMissing in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigEntityValidationTestBase.php - A property that is required must have a value (i.e. not NULL).
- ContactFormValidationTest::testMessageValidation in core/
modules/ contact/ tests/ src/ Kernel/ ContactFormValidationTest.php - Tests validation of message.
- ContentLanguageSettingsValidationTest::testTargetBundleMustExist in core/
modules/ language/ tests/ src/ Kernel/ ContentLanguageSettingsValidationTest.php - Tests that the target bundle of the language content settings is checked.
- DateFormatValidationTest::testPatternIsValidated in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ DateFormatValidationTest.php - Tests that the pattern of a date format is validated.
- EditorValidationTest::testImageUploadSettingsAreDynamicallyRequired in core/
modules/ editor/ tests/ src/ Kernel/ EditorValidationTest.php - `image_upload.status = TRUE` must cause additional keys to be required.
- EditorValidationTest::testImageUploadSettingsValidation in core/
modules/ editor/ tests/ src/ Kernel/ EditorValidationTest.php - @testWith [{"scheme": "public"}, {}] [{"scheme": "private"}, {"image_upload.scheme": "The file storage you selected is not a visible, readable and writable stream wrapper. Possible choices: <em…
- EditorValidationTest::testInvalidDependencies in core/
modules/ editor/ tests/ src/ Kernel/ EditorValidationTest.php - Tests that validation fails if config dependencies are invalid.
- EditorValidationTest::testInvalidFormat in core/
modules/ editor/ tests/ src/ Kernel/ EditorValidationTest.php - Tests validating an editor with a non-existent `format`.
- EditorValidationTest::testInvalidPluginId in core/
modules/ editor/ tests/ src/ Kernel/ EditorValidationTest.php - Tests validating an editor with an unknown plugin ID.
- EntityFormDisplayValidationTest::testMultilineTextFieldWidgetPlaceholder in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityFormDisplayValidationTest.php - Tests validation of entity form display component's widget settings.
- EntityFormDisplayValidationTest::testTargetBundleMustExist in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityFormDisplayValidationTest.php - Tests that the target bundle of the entity form display is checked.
- EntityViewDisplayValidationTest::testLayoutSectionPluginIdIsValidated in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityViewDisplayValidationTest.php - Tests that the plugin ID of a Layout Builder section is validated.
- EntityViewDisplayValidationTest::testTargetBundleMustExist in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityViewDisplayValidationTest.php - Tests that the target bundle of the entity view display is checked.
- FieldConfigValidationTest::testEntityReferenceSelectionHandlerIsValidated in core/
modules/ field/ tests/ src/ Kernel/ Entity/ FieldConfigValidationTest.php - Tests that entity reference selection handler plugin IDs are validated.
- FieldConfigValidationTest::testFieldTypePluginIsValidated in core/
modules/ field/ tests/ src/ Kernel/ Entity/ FieldConfigValidationTest.php - Tests that the field type plugin's existence is validated.
- FieldConfigValidationTest::testInvalidDependencies in core/
modules/ field/ tests/ src/ Kernel/ Entity/ FieldConfigValidationTest.php - Tests that validation fails if config dependencies are invalid.
- FieldConfigValidationTest::testMultilineTextFieldDefaultValue in core/
modules/ field/ tests/ src/ Kernel/ Entity/ FieldConfigValidationTest.php - Tests validation of a field_config's default value.
- FieldConfigValidationTest::testTargetBundleMustExist in core/
modules/ field/ tests/ src/ Kernel/ Entity/ FieldConfigValidationTest.php - Tests that the target bundle of the field is checked.
- FieldStorageConfigValidationTest::testFieldTypePluginIsValidated in core/
modules/ field/ tests/ src/ Kernel/ Entity/ FieldStorageConfigValidationTest.php - Tests that the field type plugin's existence is validated.
- MediaTypeValidationTest::testMediaSourceIsValidated in core/
modules/ media/ tests/ src/ Kernel/ MediaTypeValidationTest.php - Tests that the media source plugin's existence is validated.
- MenuValidationTest::testDescription in core/
modules/ system/ tests/ src/ Kernel/ Entity/ MenuValidationTest.php - Tests that description is optional, and limited to 512 characters.
- NodeTypeValidationTest::testDescriptionAndHelpCannotBeEmpty in core/
modules/ node/ tests/ src/ Kernel/ NodeTypeValidationTest.php - Tests that description and help text can be NULL, but not empty strings.
- NodeTypeValidationTest::testPreviewModeValidation in core/
modules/ node/ tests/ src/ Kernel/ NodeTypeValidationTest.php - Tests that a node type's preview mode is constrained to certain values.
- NodeTypeValidationTest::testThirdPartySettingsMenuUi in core/
modules/ node/ tests/ src/ Kernel/ NodeTypeValidationTest.php - @testWith [true, {"third_party_settings.menu_ui": "'parent' is a required key."}] [false, {}]
- RestResourceConfigValidationTest::testInvalidPluginId in core/
modules/ rest/ tests/ src/ Kernel/ Entity/ RestResourceConfigValidationTest.php - Tests that the resource plugin ID is validated.
- SearchPageValidationTest::testInvalidPluginId in core/
modules/ search/ tests/ src/ Kernel/ SearchPageValidationTest.php - Tests that the search plugin ID is validated.
- ViewValidationTest::testInvalidPluginId in core/
modules/ views/ tests/ src/ Kernel/ Entity/ ViewValidationTest.php - Tests that the various plugin IDs making up a view display are validated.
- WorkflowValidationTest::testTypePluginIsValidated in core/
modules/ workflows/ tests/ src/ Kernel/ WorkflowValidationTest.php - Tests that the workflow type plugin is validated.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.