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 11.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
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
@dataProvider providerTestBuild
FieldBlockTest::testBuildException function core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php @covers ::build
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: "";
footer-block.twig file core/profiles/demo_umami/themes/umami/components/footer-block/footer-block.twig <div{{ attributes.addClass('footer-block') }}>
<div class="footer-block__wrapper">
{% block image %}
{% if image %}
<div class="footer-block__media">
{{~ image ~}}
form--search-block-form.html.twig file core/themes/olivero/templates/form--search-block-form.html.twig Theme override for a 'form' element.
ForumBlockBase class core/modules/forum/src/Plugin/Block/ForumBlockBase.php Provides a base class for Forum blocks.
ForumBlockBase.php file core/modules/forum/src/Plugin/Block/ForumBlockBase.php
ForumBlockBase::blockAccess function core/modules/forum/src/Plugin/Block/ForumBlockBase.php Indicates whether the block should be shown.
ForumBlockBase::blockForm function core/modules/forum/src/Plugin/Block/ForumBlockBase.php
ForumBlockBase::blockSubmit function core/modules/forum/src/Plugin/Block/ForumBlockBase.php
ForumBlockBase::build function core/modules/forum/src/Plugin/Block/ForumBlockBase.php Builds and returns the renderable array for this block plugin.
ForumBlockBase::buildForumQuery function core/modules/forum/src/Plugin/Block/ForumBlockBase.php Builds the select query to use for this forum block.
ForumBlockBase::defaultConfiguration function core/modules/forum/src/Plugin/Block/ForumBlockBase.php
ForumBlockBase::getCacheContexts function core/modules/forum/src/Plugin/Block/ForumBlockBase.php
ForumBlockBase::getCacheTags function core/modules/forum/src/Plugin/Block/ForumBlockBase.php
ForumBlockTest class core/modules/forum/tests/src/Functional/ForumBlockTest.php Tests the forum blocks.
ForumBlockTest.php file core/modules/forum/tests/src/Functional/ForumBlockTest.php
ForumBlockTest::$adminUser property core/modules/forum/tests/src/Functional/ForumBlockTest.php A user with various administrative privileges.
ForumBlockTest::$defaultTheme property core/modules/forum/tests/src/Functional/ForumBlockTest.php The theme to install as the default for testing.
ForumBlockTest::$modules property core/modules/forum/tests/src/Functional/ForumBlockTest.php Modules to enable.
ForumBlockTest::createForumTopics function core/modules/forum/tests/src/Functional/ForumBlockTest.php Creates a forum topic.
ForumBlockTest::setUp function core/modules/forum/tests/src/Functional/ForumBlockTest.php
ForumBlockTest::testActiveForumTopicsBlock function core/modules/forum/tests/src/Functional/ForumBlockTest.php Tests the "Active forum topics" block.
ForumBlockTest::testNewForumTopicsBlock function core/modules/forum/tests/src/Functional/ForumBlockTest.php Tests the "New forum topics" block.
forum_preprocess_block function core/modules/forum/forum.module Implements hook_preprocess_HOOK() for block templates.
HelpBlock class core/modules/help/src/Plugin/Block/HelpBlock.php Provides a 'Help' block.
HelpBlock.php file core/modules/help/src/Plugin/Block/HelpBlock.php
HelpBlock::$moduleHandler property core/modules/help/src/Plugin/Block/HelpBlock.php The module handler.
HelpBlock::$request property core/modules/help/src/Plugin/Block/HelpBlock.php The current request.
HelpBlock::$routeMatch property core/modules/help/src/Plugin/Block/HelpBlock.php The current route match.
HelpBlock::build function core/modules/help/src/Plugin/Block/HelpBlock.php Builds and returns the renderable array for this block plugin.
HelpBlock::create function core/modules/help/src/Plugin/Block/HelpBlock.php Creates an instance of the plugin.
HelpBlock::getCacheContexts function core/modules/help/src/Plugin/Block/HelpBlock.php

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