Search for component

  1. Search 7.x for component
  2. Search 8.9.x for component
  3. Search 10.3.x for component
  4. Search 11.x for component
  5. Other projects
Title Object type File name Summary
BlockComponentRenderArray class core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.php Builds render arrays and handles access for all block components.
BlockComponentRenderArray.php file core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.php
BlockComponentRenderArray::$currentUser property core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.php The current user.
BlockComponentRenderArray::getSubscribedEvents function core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.php
BlockComponentRenderArray::onBuildRender function core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.php Builds render arrays for block plugins and sets it on the event.
BlockComponentRenderArray::__construct function core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.php Creates a BlockComponentRenderArray object.
BlockComponentRenderArrayTest class core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @coversDefaultClass \Drupal\layout_builder\EventSubscriber\BlockComponentRenderArray
@group layout_builder
BlockComponentRenderArrayTest.php file core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php
BlockComponentRenderArrayTest::$account property core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php The current user.
BlockComponentRenderArrayTest::$blockManager property core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php The block plugin manager.
BlockComponentRenderArrayTest::providerBlockTypes function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php Data provider for test functions that should test block types.
BlockComponentRenderArrayTest::setUp function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php
BlockComponentRenderArrayTest::testOnBuildRender function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender
BlockComponentRenderArrayTest::testOnBuildRenderDenied function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender
BlockComponentRenderArrayTest::testOnBuildRenderEmptyBuild function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender
BlockComponentRenderArrayTest::testOnBuildRenderEmptyBuildWithCacheTags function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender
BlockComponentRenderArrayTest::testOnBuildRenderInPreview function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender
BlockComponentRenderArrayTest::testOnBuildRenderInPreviewEmptyBuild function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender
BlockComponentRenderArrayTest::testOnBuildRenderNoBlock function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender
BlockComponentRenderArrayTest::testOnBuildRenderWithoutPreviewFallbackString function core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @covers ::onBuildRender
BlockViewBuilder::buildComponents function core/modules/block/src/BlockViewBuilder.php Builds the component fields and properties of a set of entities.
CommentViewBuilder::buildComponents function core/modules/comment/src/CommentViewBuilder.php In addition to modifying the content key on entities, this implementation
will also set the comment entity key which all comments carry.
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 Creates an instance of the plugin.
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.
ComponentsIsolatedBuildTest class core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php Try to install dependencies per component, using Composer.
ComponentsIsolatedBuildTest.php file core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php
ComponentsIsolatedBuildTest::addExpectedRepositories function core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php Adds expected repositories as path repositories to package under test.
ComponentsIsolatedBuildTest::provideComponentPaths function core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php Provides an array with relative paths to the component paths.
ComponentsIsolatedBuildTest::testComponentComposerJson function core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php Test whether components' composer.json can be installed in isolation.

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