Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Other projects
Title Object type File name Summary
ComponentAsFormElementTest class core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Tests the correct rendering of components in form.
ComponentAsFormElementTest.php file core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php
ComponentAsFormElementTest::$modules property core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Modules to install.
ComponentAsFormElementTest::$themes property core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Themes to install.
ComponentAsFormElementTest::buildForm function core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Form constructor.
ComponentAsFormElementTest::customValidator function core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Validation callback for a datetime element.
ComponentAsFormElementTest::getFormId function core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Returns a unique string identifying the form.
ComponentAsFormElementTest::submitForm function core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Form submission handler.
ComponentAsFormElementTest::testElementValidateCallback function core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Tests that #element_validate works as expected.
ComponentAsFormElementTest::testFormRenderingAndSubmission function core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Tests that fields validation messages are sorted in the fields order.
ComponentAsFormElementTest::validateForm function core/tests/Drupal/KernelTests/Components/ComponentAsFormElementTest.php Form validation handler.
ComponentElement class core/lib/Drupal/Core/Render/Element/ComponentElement.php Provides a Single-Directory Component render element.
ComponentElement.php file core/lib/Drupal/Core/Render/Element/ComponentElement.php
ComponentElement::generateComponentTemplate function core/lib/Drupal/Core/Render/Element/ComponentElement.php Generates the template to render the component.
ComponentElement::getInfo function core/lib/Drupal/Core/Render/Element/ComponentElement.php Returns the element properties for this element.
ComponentElement::mergeElementAttributesToPropAttributes function core/lib/Drupal/Core/Render/Element/ComponentElement.php Merge element attributes with props attributes.
ComponentElement::preRenderComponent function core/lib/Drupal/Core/Render/Element/ComponentElement.php Expands a component into an inline template with an attachment.
ComponentElement::valueCallback function core/lib/Drupal/Core/Render/Element/ComponentElement.php 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/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php Provides a destination plugin for migrating entity display components.
ComponentEntityDisplayBase.php file core/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php
ComponentEntityDisplayBase::$entityDisplayRepository property core/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php The entity display repository.
ComponentEntityDisplayBase::create function core/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php Instantiates a new instance of the implementing class using autowiring.
ComponentEntityDisplayBase::fields function core/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php Returns an array of destination fields.
ComponentEntityDisplayBase::getEntity function core/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php Gets the entity.
ComponentEntityDisplayBase::getIds function core/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php Gets the destination IDs.
ComponentEntityDisplayBase::import function core/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php Import the row.
ComponentEntityDisplayBase::MODE_NAME constant core/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php
ComponentEntityDisplayBase::__construct function core/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php PerComponentEntityDisplay constructor.
ComponentGenerator class composer/Generator/ComponentGenerator.php Reconciles Drupal component dependencies with core.
ComponentGenerator.php file composer/Generator/ComponentGenerator.php
ComponentGenerator::$componentBaseDir property composer/Generator/ComponentGenerator.php Full path to the component directory.
ComponentGenerator::$drupalCoreInfo property composer/Generator/ComponentGenerator.php Data from drupal/core's composer.json file.
ComponentGenerator::$drupalProjectInfo property composer/Generator/ComponentGenerator.php Data from drupal/drupal's composer.json file.
ComponentGenerator::$relativeComponentPath property composer/Generator/ComponentGenerator.php Relative path from Drupal root to the component directory.
ComponentGenerator::encode function composer/Generator/ComponentGenerator.php Utility function to encode package json in a consistent way.
ComponentGenerator::generate function composer/Generator/ComponentGenerator.php Reconcile Drupal's components whenever composer.lock is updated.
ComponentGenerator::generateComponentPackage function composer/Generator/ComponentGenerator.php Generate the component JSON files.
ComponentGenerator::getComponentPathsFinder function composer/Generator/ComponentGenerator.php Find all the composer.json files for components.
ComponentGenerator::getPackage function composer/Generator/ComponentGenerator.php Reconcile component dependencies with core.
ComponentGenerator::initialPackageMetadata function composer/Generator/ComponentGenerator.php Common default metadata for all components.
ComponentGenerator::__construct function composer/Generator/ComponentGenerator.php ComponentGenerator constructor.
ComponentInFormTest class core/tests/Drupal/KernelTests/Components/ComponentInFormTest.php Tests the correct rendering of components in form.
ComponentInFormTest.php file core/tests/Drupal/KernelTests/Components/ComponentInFormTest.php
ComponentInFormTest::$modules property core/tests/Drupal/KernelTests/Components/ComponentInFormTest.php Modules to install.
ComponentInFormTest::$themes property core/tests/Drupal/KernelTests/Components/ComponentInFormTest.php Themes to install.
ComponentInFormTest::buildForm function core/tests/Drupal/KernelTests/Components/ComponentInFormTest.php Form constructor.
ComponentInFormTest::getFormId function core/tests/Drupal/KernelTests/Components/ComponentInFormTest.php Returns a unique string identifying the form.
ComponentInFormTest::submitForm function core/tests/Drupal/KernelTests/Components/ComponentInFormTest.php Form submission handler.
ComponentInFormTest::testFormRenderingAndSubmission function core/tests/Drupal/KernelTests/Components/ComponentInFormTest.php Tests that fields validation messages are sorted in the fields order.
ComponentInFormTest::validateForm function core/tests/Drupal/KernelTests/Components/ComponentInFormTest.php Form validation handler.

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