Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| ComponentAsFormElementTest | class | core/ |
Tests the correct rendering of components in form. |
| ComponentAsFormElementTest.php | file | core/ |
|
| ComponentAsFormElementTest::$modules | property | core/ |
Modules to install. |
| ComponentAsFormElementTest::$themes | property | core/ |
Themes to install. |
| ComponentAsFormElementTest::buildForm | function | core/ |
Form constructor. |
| ComponentAsFormElementTest::customValidator | function | core/ |
Validation callback for a datetime element. |
| ComponentAsFormElementTest::getFormId | function | core/ |
Returns a unique string identifying the form. |
| ComponentAsFormElementTest::submitForm | function | core/ |
Form submission handler. |
| ComponentAsFormElementTest::testElementValidateCallback | function | core/ |
Tests that #element_validate works as expected. |
| ComponentAsFormElementTest::testFormRenderingAndSubmission | function | core/ |
Tests that fields validation messages are sorted in the fields order. |
| ComponentAsFormElementTest::validateForm | function | core/ |
Form validation handler. |
| ComponentElement | class | core/ |
Provides a Single-Directory Component render element. |
| ComponentElement.php | file | core/ |
|
| ComponentElement::generateComponentTemplate | function | core/ |
Generates the template to render the component. |
| ComponentElement::getInfo | function | core/ |
Returns the element properties for this element. |
| ComponentElement::mergeElementAttributesToPropAttributes | function | core/ |
Merge element attributes with props attributes. |
| ComponentElement::preRenderComponent | function | core/ |
Expands a component into an inline template with an attachment. |
| ComponentElement::valueCallback | function | core/ |
Returns NULL to let the Form API fall back to #default_value or #value. Components delegate actual value rendering to the Twig template via the form_state prop, so no server-side value transformation is needed here. |
| ComponentEntityDisplayBase | class | core/ |
Provides a destination plugin for migrating entity display components. |
| ComponentEntityDisplayBase.php | file | core/ |
|
| ComponentEntityDisplayBase::$entityDisplayRepository | property | core/ |
The entity display repository. |
| ComponentEntityDisplayBase::create | function | core/ |
Instantiates a new instance of the implementing class using autowiring. |
| ComponentEntityDisplayBase::fields | function | core/ |
Returns an array of destination fields. |
| ComponentEntityDisplayBase::getEntity | function | core/ |
Gets the entity. |
| ComponentEntityDisplayBase::getIds | function | core/ |
Gets the destination IDs. |
| ComponentEntityDisplayBase::import | function | core/ |
Import the row. |
| ComponentEntityDisplayBase::MODE_NAME | constant | core/ |
|
| ComponentEntityDisplayBase::__construct | function | core/ |
PerComponentEntityDisplay constructor. |
| ComponentGenerator | class | composer/ |
Reconciles Drupal component dependencies with core. |
| ComponentGenerator.php | file | composer/ |
|
| ComponentGenerator::$componentBaseDir | property | composer/ |
Full path to the component directory. |
| ComponentGenerator::$drupalCoreInfo | property | composer/ |
Data from drupal/core's composer.json file. |
| ComponentGenerator::$drupalProjectInfo | property | composer/ |
Data from drupal/drupal's composer.json file. |
| ComponentGenerator::$relativeComponentPath | property | composer/ |
Relative path from Drupal root to the component directory. |
| ComponentGenerator::encode | function | composer/ |
Utility function to encode package json in a consistent way. |
| ComponentGenerator::generate | function | composer/ |
Reconcile Drupal's components whenever composer.lock is updated. |
| ComponentGenerator::generateComponentPackage | function | composer/ |
Generate the component JSON files. |
| ComponentGenerator::getComponentPathsFinder | function | composer/ |
Find all the composer.json files for components. |
| ComponentGenerator::getPackage | function | composer/ |
Reconcile component dependencies with core. |
| ComponentGenerator::initialPackageMetadata | function | composer/ |
Common default metadata for all components. |
| ComponentGenerator::__construct | function | composer/ |
ComponentGenerator constructor. |
| ComponentInFormTest | class | core/ |
Tests the correct rendering of components in form. |
| ComponentInFormTest.php | file | core/ |
|
| ComponentInFormTest::$modules | property | core/ |
Modules to install. |
| ComponentInFormTest::$themes | property | core/ |
Themes to install. |
| ComponentInFormTest::buildForm | function | core/ |
Form constructor. |
| ComponentInFormTest::getFormId | function | core/ |
Returns a unique string identifying the form. |
| ComponentInFormTest::submitForm | function | core/ |
Form submission handler. |
| ComponentInFormTest::testFormRenderingAndSubmission | function | core/ |
Tests that fields validation messages are sorted in the fields order. |
| ComponentInFormTest::validateForm | function | core/ |
Form validation handler. |
Pagination
- Previous page
- Page 212
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.