Search for to
Title | Object type | File name | Summary |
---|---|---|---|
ComponentNegotiator::$cache | property | core/ |
Holds the component IDs from previous negotiations. |
ComponentNegotiator::$deprecatedProperties | property | core/ |
|
ComponentNegotiator::clearCache | function | core/ |
Clears the negotiation cache. |
ComponentNegotiator::doNegotiate | function | core/ |
Negotiates the active component for the current request. |
ComponentNegotiator::generateCacheKey | function | core/ |
Generates the cache key for the current theme and the provided component. |
ComponentNegotiator::maybeNegotiateByModule | function | core/ |
Negotiate the component from the list of candidates for a module. |
ComponentNegotiator::maybeNegotiateByTheme | function | core/ |
See if there is a candidate in the theme hierarchy. |
ComponentNegotiator::negotiate | function | core/ |
Negotiates the active component for the current request. |
ComponentNegotiator::__construct | function | core/ |
Constructs ComponentNegotiator objects. |
ComponentNegotiatorTest | class | core/ |
Tests the component negotiator. |
ComponentNegotiatorTest.php | file | core/ |
|
ComponentNegotiatorTest::$modules | property | core/ |
Modules to install. |
ComponentNegotiatorTest::$themes | property | core/ |
Themes to install. |
ComponentNegotiatorTest::testNegotiate | function | core/ |
@covers ::negotiate[[api-linebreak]] |
ComponentNegotiatorTest::testRenderWithReplacements | function | core/ |
Tests rendering components with component replacement. |
ComponentNodeVisitor | class | core/ |
Provides a ComponentNodeVisitor to change the generated parse-tree. |
ComponentNodeVisitor.php | file | core/ |
|
ComponentNodeVisitor::emojiForString | function | core/ |
Chooses an emoji representative for the input string. |
ComponentNodeVisitor::enterNode | function | core/ |
|
ComponentNodeVisitor::getComponent | function | core/ |
Finds the SDC for the current module node. |
ComponentNodeVisitor::getPriority | function | core/ |
|
ComponentNodeVisitor::leaveNode | function | core/ |
|
ComponentNodeVisitor::validateSlots | function | core/ |
Performs a cheap validation of the slots in the template. |
ComponentNodeVisitor::__construct | function | core/ |
Creates a new ComponentNodeVisitor object. |
ComponentNodeVisitorTest | class | core/ |
Tests the node visitor. |
ComponentNodeVisitorTest.php | file | core/ |
|
ComponentNodeVisitorTest::$modules | property | core/ |
Modules to install. |
ComponentNodeVisitorTest::$themes | property | core/ |
Themes to install. |
ComponentNodeVisitorTest::DEBUG_COMPONENT_ID_PATTERN | constant | core/ |
|
ComponentNodeVisitorTest::DEBUG_VARIANT_ID_PATTERN | constant | core/ |
|
ComponentNodeVisitorTest::testDebugRendersComponentStartWithVariant | function | core/ |
Test debug output for sdc components with component id and variant. |
ComponentNodeVisitorTest::testOtherVisitorsCanModifyTwigNodes | function | core/ |
Test that other visitors can modify Twig nodes. |
ComponentPluginManager::getScanDirectories | function | core/ |
Get the list of directories to scan. |
ComponentPluginManager::makePathRelativeToLibraryRoot | function | core/ |
Takes a path and makes it relative to the library provider. |
ComponentsIsolatedBuildTest::addExpectedRepositories | function | core/ |
Adds expected repositories as path repositories to package under test. |
ComponentsTwigExtension::getNodeVisitors | function | core/ |
|
ComponentValidator | class | core/ |
Validates a component based on its definition and the component schema. |
ComponentValidator.php | file | core/ |
|
ComponentValidator::$validator | property | core/ |
The schema validator. |
ComponentValidator::getClassProps | function | core/ |
Gets the props that are not JSON based. |
ComponentValidator::nullifyClassPropsSchema | function | core/ |
Utility method to ensure the schema for class props is set to 'null'. |
ComponentValidator::setValidator | function | core/ |
Sets the validator service if available. |
ComponentValidator::validateClassProps | function | core/ |
Validates the props that are not JSON Schema. |
ComponentValidator::validateDefinition | function | core/ |
Validates the component metadata file. |
ComponentValidator::validateProps | function | core/ |
Validates that the props provided to the component. |
ComponentValidatorTest | class | core/ |
Unit tests for the component validation. |
ComponentValidatorTest.php | file | core/ |
|
ComponentValidatorTest::dataProviderValidateDefinitionInvalid | function | core/ |
Data provider with invalid component definitions. |
ComponentValidatorTest::dataProviderValidateDefinitionValid | function | core/ |
Data provider with valid component definitions. |
ComponentValidatorTest::dataProviderValidatePropsInvalid | function | core/ |
Data provider with invalid component props. |
Pagination
- Previous page
- Page 34
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.