Search for schema

  1. Search 7.x for schema
  2. Search 9.5.x for schema
  3. Search 8.9.x for schema
  4. Search 10.3.x for schema
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Schema class core/modules/sqlite/src/Driver/Database/sqlite/Schema.php SQLite implementation of \Drupal\Core\Database\Schema.
Schema class core/modules/mysql/src/Driver/Database/mysql/Schema.php MySQL implementation of \Drupal\Core\Database\Schema.
Schema class core/modules/pgsql/src/Driver/Database/pgsql/Schema.php PostgreSQL implementation of \Drupal\Core\Database\Schema.
Schema class core/tests/Drupal/Tests/Core/Database/Stub/Driver/Schema.php A very minimal class for testing purposes.
Schema class core/lib/Drupal/Core/Database/Schema.php Provides a base implementation for Database Schema.
Schema class core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Schema.php CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Schema.

All search results

Title Object type File name Summary
InstallTest::testGetSchemaAtInstallTime function core/modules/system/tests/src/Kernel/Module/InstallTest.php Verify that drupal_get_schema() can be used during module installation.
InstallTest::testRequiredModuleSchemaVersions function core/modules/system/tests/src/Kernel/Module/InstallTest.php Tests recorded schema versions of early installed modules in the installer.
IntegerItem::schema function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/IntegerItem.php Returns the schema for the field.
ItemsPerPageTest::$configSchemaCheckerExclusions property core/modules/views/tests/src/Functional/Wizard/ItemsPerPageTest.php An array of config object names that are excluded from schema checking.
json-schema-draft-04-meta-schema.json.LICENSE.txt file core/modules/serialization/src/json-schema-draft-04-meta-schema.json.LICENSE.txt Copyright 2023 JSON Schema Specification Authors

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above…
jsonapi.schema.yml file core/modules/jsonapi/config/schema/jsonapi.schema.yml core/modules/jsonapi/config/schema/jsonapi.schema.yml
JsonApiDocumentTopLevelNormalizer::getNormalizationSchema function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php Retrieve JSON Schema for the normalization.
JsonApiDocumentTopLevelNormalizer::getSchemasForDataCollection function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php Retrieve an array of schemas for the resource types in a data object.
JsonApiJsonSchemaTestTrait trait core/modules/jsonapi/tests/src/Traits/JsonApiJsonSchemaTestTrait.php Support methods for testing JSON API schema.
JsonApiJsonSchemaTestTrait.php file core/modules/jsonapi/tests/src/Traits/JsonApiJsonSchemaTestTrait.php
JsonApiJsonSchemaTestTrait::getJsonSchemaTestNormalizationFormat function core/modules/jsonapi/tests/src/Traits/JsonApiJsonSchemaTestTrait.php Format that should be used when performing test normalizations.
JsonApiJsonSchemaTestTrait::getNormalizationForValue function core/modules/jsonapi/tests/src/Traits/JsonApiJsonSchemaTestTrait.php
JsonApiJsonSchemaTestTrait::getValidator function core/modules/jsonapi/tests/src/Traits/JsonApiJsonSchemaTestTrait.php Get the JSON Schema Validator.
JsonApiSpec::SUPPORTED_SPECIFICATION_JSON_SCHEMA constant core/modules/jsonapi/src/JsonApiSpec.php The URI of the supported specification's JSON Schema.
JsonApiTopLevelResourceNormalizerTest::jsonSchemaDataProvider function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php Data provider for ::testNormalizedValuesAgainstJsonSchema.
JsonApiTopLevelResourceNormalizerTest::testConfigEntityResourceObjectSchema function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php Test the generated config resource object normalization against the schema.
JsonApiTopLevelResourceNormalizerTest::testResourceObjectSchema function core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiTopLevelResourceNormalizerTest.php Test the generated resource object normalization against the schema.
jsonapi_test_field_type.schema.yml file core/modules/jsonapi/tests/modules/jsonapi_test_field_type/config/schema/jsonapi_test_field_type.schema.yml core/modules/jsonapi/tests/modules/jsonapi_test_field_type/config/schema/jsonapi_test_field_type.schema.yml
JsonSchema class core/lib/Drupal/Core/Serialization/Attribute/JsonSchema.php Attribute for methods to express the JSON Schema of its return value.
JsonSchema.php file core/lib/Drupal/Core/Serialization/Attribute/JsonSchema.php
JsonSchema::getJsonSchema function core/lib/Drupal/Core/Serialization/Attribute/JsonSchema.php Get a JSON Schema type definition array.
JsonSchema::__construct function core/lib/Drupal/Core/Serialization/Attribute/JsonSchema.php Constructor.
JsonSchemaProviderSerializerInterface interface core/modules/serialization/src/Serializer/JsonSchemaProviderSerializerInterface.php Interface for JSON schema provider.
JsonSchemaProviderSerializerInterface.php file core/modules/serialization/src/Serializer/JsonSchemaProviderSerializerInterface.php
JsonSchemaProviderSerializerInterface::getJsonSchema function core/modules/serialization/src/Serializer/JsonSchemaProviderSerializerInterface.php Convenience method to get a JSON schema.
JsonSchemaProviderSerializerTrait trait core/modules/serialization/src/Serializer/JsonSchemaProviderSerializerTrait.php Trait for normalizing the JSON schema.
JsonSchemaProviderSerializerTrait.php file core/modules/serialization/src/Serializer/JsonSchemaProviderSerializerTrait.php
JsonSchemaProviderSerializerTrait::getJsonSchema function core/modules/serialization/src/Serializer/JsonSchemaProviderSerializerTrait.php
JsonSchemaReflectionTrait trait core/modules/serialization/src/Normalizer/JsonSchemaReflectionTrait.php Interface for using reflection with the JSON object.
JsonSchemaReflectionTrait.php file core/modules/serialization/src/Normalizer/JsonSchemaReflectionTrait.php
JsonSchemaReflectionTrait::getJsonSchemaForMethod function core/modules/serialization/src/Normalizer/JsonSchemaReflectionTrait.php Get a JSON Schema based on method reflection.
JsonSchemaTestTrait trait core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Trait for testing JSON Schema validity and fit to sample data.
JsonSchemaTestTrait.php file core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php
JsonSchemaTestTrait::doCheckSchemaAgainstMetaSchema function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Check a schema is valid against the meta-schema.
JsonSchemaTestTrait::doProphesize function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Method to make prophecy public for use in data provider closures.
JsonSchemaTestTrait::doTestJsonSchemaIsValid function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Validate the normalizer's JSON schema.
JsonSchemaTestTrait::getJsonSchemaTestNormalizationFormat function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Format that should be used when performing test normalizations.
JsonSchemaTestTrait::getNormalizationForValue function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Get the normalization for a value.
JsonSchemaTestTrait::getNormalizer function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Helper method to retrieve the normalizer.
JsonSchemaTestTrait::getValidator function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Get the JSON Schema Validator.
JsonSchemaTestTrait::jsonSchemaDataProvider function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Data provider for ::testNormalizedValuesAgainstJsonSchema.
JsonSchemaTestTrait::supportedTypesDataProvider function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php
JsonSchemaTestTrait::testNormalizedValuesAgainstJsonSchema function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Test normalized values against the JSON schema.
JsonSchemaTestTrait::testSupportedTypesSchemaIsValid function core/modules/serialization/tests/src/Traits/JsonSchemaTestTrait.php Test that a valid schema is returned for the explicitly supported types.
KernelTestBase::$configSchemaCheckerExclusions property core/tests/Drupal/KernelTests/KernelTestBase.php An array of config object names that are excluded from schema checking.
KernelTestBase::$strictConfigSchema property core/tests/Drupal/KernelTests/KernelTestBase.php Set to TRUE to strict check all configuration saved.
KernelTestBase::getConfigSchemaExclusions function core/tests/Drupal/KernelTests/KernelTestBase.php Gets the config schema exclusions for this test.
KernelTestBase::installEntitySchema function core/tests/Drupal/KernelTests/KernelTestBase.php Installs the storage schema for a specific entity type.
KernelTestBase::installSchema function core/tests/Drupal/KernelTests/KernelTestBase.php Installs database tables from a module schema definition.
language.schema.yml file core/modules/language/config/schema/language.schema.yml core/modules/language/config/schema/language.schema.yml

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.