Search for component

  1. Search 7.x for component
  2. Search 9.5.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 Dataprovider 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.
ConfigureBlockFormBase::getCurrentComponent function core/modules/layout_builder/src/Form/ConfigureBlockFormBase.php Retrieves the current component being edited by the form.
core.ui_components.html.twig file core/modules/help_topics/help_topics/core.ui_components.html.twig ---
label: 'Using the administrative interface'
top_level: true
related:
- block.overview
---
<h2>{% trans %}Administrative interface overview{% endtrans %}</h2>
<p>{% trans %}The administrative interface has several…
CSS_COMPONENT constant core/includes/common.inc The default weight for CSS rules that style design components (and their associated states and themes.)
dropbutton.component.css file core/themes/seven/css/components/dropbutton.component.css Styling dropbuttons.
dropbutton.component.css file core/themes/bartik/css/components/dropbutton.component.css Visual styles for Bartik's dropbutton component.
DrupalComponentTest class core/tests/Drupal/Tests/Component/DrupalComponentTest.php General tests for \Drupal\Component that can't go anywhere else.
DrupalComponentTest.php file core/tests/Drupal/Tests/Component/DrupalComponentTest.php
DrupalComponentTest::assertNoCoreUsage function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Asserts that the given class is not using any class from Core namespace.
DrupalComponentTest::findPhpClasses function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Searches a directory recursively for PHP classes.
DrupalComponentTest::getComponents function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Data provider.
DrupalComponentTest::providerAssertNoCoreUseage function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Data provider for testAssertNoCoreUseage().
DrupalComponentTest::testAssertNoCoreUseage function core/tests/Drupal/Tests/Component/DrupalComponentTest.php @covers \Drupal\Tests\Component\DrupalComponentTest::assertNoCoreUsage
@dataProvider providerAssertNoCoreUseage
DrupalComponentTest::testComponentLicence function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Tests LICENSE.txt is present and has the correct content.
DrupalComponentTest::testNoCoreInComponent function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Tests that classes in Component do not use any Core class.
DrupalComponentTest::testNoCoreInComponentTests function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Tests that classes in Component Tests do not use any Core class.
DrupalComponentTestListenerTrait trait core/tests/Drupal/Tests/Listeners/DrupalComponentTestListenerTrait.php Ensures that no component tests are extending a core test base class.
DrupalComponentTestListenerTrait.php file core/tests/Drupal/Tests/Listeners/DrupalComponentTestListenerTrait.php
DrupalComponentTestListenerTrait::componentEndTest function core/tests/Drupal/Tests/Listeners/DrupalComponentTestListenerTrait.php Reacts to the end of a test.

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