Search for js
Title | Object type | File name | Summary |
---|---|---|---|
JsonEncoderTest::testSupportsEncoding | function | core/ |
Tests the supportsEncoding() method. |
JsonRenderer | class | core/ |
Default main content renderer for JSON requests. |
JsonRenderer.php | file | core/ |
|
JsonRenderer::$renderer | property | core/ |
The renderer service. |
JsonRenderer::$titleResolver | property | core/ |
The title resolver. |
JsonRenderer::renderResponse | function | core/ |
Renders the main content render array into a response. |
JsonRenderer::__construct | function | core/ |
Constructs a new JsonRenderer. |
JsonSchema | class | core/ |
Attribute for methods to express the JSON Schema of its return value. |
JsonSchema.php | file | core/ |
|
JsonSchema::getJsonSchema | function | core/ |
Get a JSON Schema type definition array. |
JsonSchema::__construct | function | core/ |
Constructor. |
JsonSchemaProviderSerializerInterface | interface | core/ |
Interface for JSON schema provider. |
JsonSchemaProviderSerializerInterface.php | file | core/ |
|
JsonSchemaProviderSerializerInterface::getJsonSchema | function | core/ |
Convenience method to get a JSON schema. |
JsonSchemaProviderSerializerTrait | trait | core/ |
Trait for normalizing the JSON schema. |
JsonSchemaProviderSerializerTrait.php | file | core/ |
|
JsonSchemaProviderSerializerTrait::getJsonSchema | function | core/ |
|
JsonSchemaReflectionTrait | trait | core/ |
Interface for using reflection with the JSON object. |
JsonSchemaReflectionTrait.php | file | core/ |
|
JsonSchemaReflectionTrait::getJsonSchemaForMethod | function | core/ |
Get a JSON Schema based on method reflection. |
JsonSchemaTestTrait | trait | core/ |
Trait for testing JSON Schema validity and fit to sample data. |
JsonSchemaTestTrait.php | file | core/ |
|
JsonSchemaTestTrait::doCheckSchemaAgainstMetaSchema | function | core/ |
Check a schema is valid against the meta-schema. |
JsonSchemaTestTrait::doProphesize | function | core/ |
Method to make prophecy public for use in data provider closures. |
JsonSchemaTestTrait::doTestJsonSchemaIsValid | function | core/ |
Validate the normalizer's JSON schema. |
JsonSchemaTestTrait::getJsonSchemaTestNormalizationFormat | function | core/ |
Format that should be used when performing test normalizations. |
JsonSchemaTestTrait::getNormalizationForValue | function | core/ |
Get the normalization for a value. |
JsonSchemaTestTrait::getNormalizer | function | core/ |
Helper method to retrieve the normalizer. |
JsonSchemaTestTrait::getValidator | function | core/ |
Get the JSON Schema Validator. |
JsonSchemaTestTrait::jsonSchemaDataProvider | function | core/ |
Data provider for ::testNormalizedValuesAgainstJsonSchema. |
JsonSchemaTestTrait::supportedTypesDataProvider | function | core/ |
|
JsonSchemaTestTrait::testNormalizedValuesAgainstJsonSchema | function | core/ |
Test normalized values against the JSON schema. |
JsonSchemaTestTrait::testSupportedTypesSchemaIsValid | function | core/ |
Test that a valid schema is returned for the explicitly supported types. |
JsonTest | class | core/ |
Tests Drupal\Component\Serialization\Json. |
JsonTest.php | file | core/ |
|
JsonTest::$htmlUnsafe | property | core/ |
An array of unsafe html characters which has to be encoded. |
JsonTest::$htmlUnsafeEscaped | property | core/ |
An array of unsafe html characters which are already escaped. |
JsonTest::$string | property | core/ |
A test string with the full ASCII table. |
JsonTest::setUp | function | core/ |
|
JsonTest::testEncodingAscii | function | core/ |
Tests encoding for every ASCII character. |
JsonTest::testEncodingLength | function | core/ |
Tests encoding length. |
JsonTest::testEncodingStartEnd | function | core/ |
Tests end and start of the encoded string. |
JsonTest::testReversibility | function | core/ |
Tests converting PHP variables to JSON strings and back. |
JsonTest::testStructuredReversibility | function | core/ |
Tests the reversibility of structured data. |
JsonTestFieldFilterAccessHooks | class | core/ |
Hook implementations for jsonapi_test_field_filter_access. |
JsonTestFieldFilterAccessHooks.php | file | core/ |
|
JsonTestFieldFilterAccessHooks::jsonapiEntityFieldFilterAccess | function | core/ |
Implements hook_jsonapi_entity_field_filter_access(). |
JsOptimizer | class | core/ |
Optimizes a JavaScript asset. |
JsOptimizer.php | file | core/ |
|
JsOptimizer::clean | function | core/ |
Processes the contents of a javascript asset for cleanup. |
Pagination
- Previous page
- Page 22
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.