Search for block

  1. Search 7.x for block
  2. Search 9.5.x for block
  3. Search 8.9.x for block
  4. Search 10.3.x for block
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Block class core/modules/views/src/Plugin/views/display/Block.php The plugin that handles a block.
Block class core/modules/block/src/Entity/Block.php Defines a Block configuration entity class.
Block class core/modules/block/src/Plugin/migrate/source/Block.php Drupal 6/7 block source from database.
Block class core/lib/Drupal/Core/Block/Attribute/Block.php The Block attribute.
Block class core/lib/Drupal/Core/Block/Annotation/Block.php Defines a Block annotation object.

All search results

Title Object type File name Summary
FieldBlock::formatterSettingsAjaxCallback function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php Render API callback: gets the layout settings elements.
FieldBlock::formatterSettingsProcessCallback function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php Render API callback: builds the formatter settings elements.
FieldBlock::getApplicablePluginOptions function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php Returns an array of applicable formatter options for a field.
FieldBlock::getEntity function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php Gets the entity that has the field.
FieldBlock::getFieldDefinition function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php Gets the field definition.
FieldBlock::getFormatter function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php Gets the formatter object.
FieldBlock::getPreviewFallbackString function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php
FieldBlock::thirdPartySettingsForm function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php Adds the formatter third party settings forms.
FieldBlock::__construct function core/modules/layout_builder/src/Plugin/Block/FieldBlock.php Constructs a new FieldBlock.
FieldBlockDeriver class core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php Provides entity field block definitions for every field.
FieldBlockDeriver.php file core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php
FieldBlockDeriver::$entityFieldManager property core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php The entity field manager.
FieldBlockDeriver::$entityTypeRepository property core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php The entity type repository.
FieldBlockDeriver::$fieldTypeManager property core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php The field type manager.
FieldBlockDeriver::$formatterManager property core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php The formatter manager.
FieldBlockDeriver::create function core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php Creates a new class instance.
FieldBlockDeriver::getDerivativeDefinitions function core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php Gets the definition of all derivatives of a base plugin.
FieldBlockDeriver::getFieldMap function core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php Returns the entity field map for deriving block definitions.
FieldBlockDeriver::__construct function core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php Constructs new FieldBlockDeriver.
FieldBlockDeriverTest class core/modules/layout_builder/tests/src/Kernel/FieldBlockDeriverTest.php Tests field block plugin derivatives.
FieldBlockDeriverTest.php file core/modules/layout_builder/tests/src/Kernel/FieldBlockDeriverTest.php
FieldBlockDeriverTest::$modules property core/modules/layout_builder/tests/src/Kernel/FieldBlockDeriverTest.php Modules to install.
FieldBlockDeriverTest::getBlockPluginIds function core/modules/layout_builder/tests/src/Kernel/FieldBlockDeriverTest.php Get an uncached list of block plugin IDs.
FieldBlockDeriverTest::testFieldBlockDerivers function core/modules/layout_builder/tests/src/Kernel/FieldBlockDeriverTest.php Tests that field block derivers respect expose_all_field_blocks config.
FieldBlockTest class core/modules/layout_builder/tests/src/FunctionalJavascript/FieldBlockTest.php @coversDefaultClass \Drupal\layout_builder\Plugin\Block\FieldBlock[[api-linebreak]]
FieldBlockTest class core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php @coversDefaultClass \Drupal\layout_builder\Plugin\Block\FieldBlock[[api-linebreak]]
@group Field
FieldBlockTest.php file core/modules/layout_builder/tests/src/FunctionalJavascript/FieldBlockTest.php
FieldBlockTest.php file core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php
FieldBlockTest::$defaultTheme property core/modules/layout_builder/tests/src/FunctionalJavascript/FieldBlockTest.php The theme to install as the default for testing.
FieldBlockTest::$entityFieldManager property core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php The entity field manager.
FieldBlockTest::$logger property core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php The logger.
FieldBlockTest::$modules property core/modules/layout_builder/tests/src/FunctionalJavascript/FieldBlockTest.php Modules to install.
FieldBlockTest::getTestBlock function core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php Instantiates a block for testing.
FieldBlockTest::providerTestBlockAccessEntityAllowedFieldHasValue function core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php Provides test data for ::testBlockAccessEntityAllowedFieldHasValue().
FieldBlockTest::providerTestBlockAccessNotAllowed function core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php Provides test data for ::testBlockAccessEntityNotAllowed().
FieldBlockTest::providerTestBuild function core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php Provides test data for ::testBuild().
FieldBlockTest::setUp function core/modules/layout_builder/tests/src/FunctionalJavascript/FieldBlockTest.php
FieldBlockTest::setUp function core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php
FieldBlockTest::testBlockAccessEntityAllowedFieldHasValue function core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php Tests populated vs empty build.
FieldBlockTest::testBlockAccessEntityAllowedFieldNotAllowed function core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php Tests field access.
FieldBlockTest::testBlockAccessEntityAllowedNoField function core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php Tests fieldable entity without a particular field.
FieldBlockTest::testBlockAccessEntityAllowedNotFieldable function core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php Tests unfieldable entity.
FieldBlockTest::testBlockAccessEntityNotAllowed function core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php Tests entity access.
FieldBlockTest::testBuild function core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php @covers ::build[[api-linebreak]]
@dataProvider providerTestBuild
FieldBlockTest::testBuildException function core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php @covers ::build[[api-linebreak]]
FieldBlockTest::testBuildWithFormException function core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php Tests a field block that throws a form exception.
FieldBlockTest::testStatesFieldBlock function core/modules/layout_builder/tests/src/FunctionalJavascript/FieldBlockTest.php Tests configuring a field block that uses #states.
FieldBlockTest::testUserFieldBlock function core/modules/layout_builder/tests/src/FunctionalJavascript/FieldBlockTest.php Tests configuring a field block for a user field.
footer-block.component.yml file core/profiles/demo_umami/themes/umami/components/footer-block/footer-block.component.yml core/profiles/demo_umami/themes/umami/components/footer-block/footer-block.component.yml
footer-block.css file core/profiles/demo_umami/themes/umami/components/footer-block/footer-block.css .footer-block {
font-size: 0.9rem;
}

.footer-block__link {
color: #fff;
background-color: inherit;
font-weight: 700;
}

.footer-block__link::after {
display: inline-block;
width: 14px;
height: 14px;
content: "";

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