Search for block

  1. Search 7.x for block
  2. Search 9.5.x for block
  3. Search 10.3.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 block source from database.
Block class core/lib/Drupal/Core/Block/Annotation/Block.php Defines a Block annotation object.

All search results

Title Object type File name Summary
UnblockUser class core/modules/user/src/Plugin/Action/UnblockUser.php Unblocks a user.
UnblockUser.php file core/modules/user/src/Plugin/Action/UnblockUser.php
UnblockUser::access function core/modules/user/src/Plugin/Action/UnblockUser.php Checks object access.
UnblockUser::execute function core/modules/user/src/Plugin/Action/UnblockUser.php Executes the plugin.
UninstallDefaultContentTest::assertImportedCustomBlock function core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/UninstallDefaultContentTest.php Assert block content are imported.
UninstallDefaultContentTest::expectedBlocks function core/profiles/demo_umami/modules/demo_umami_content/tests/src/Functional/UninstallDefaultContentTest.php Returns the expected properties of this profile's custom blocks.
UnitTestCase::getBlockMockWithMachineName function core/tests/Drupal/Tests/UnitTestCase.php Mocks a block with a block plugin.
UnitTestCaseDeprecationTest::testDeprecatedGetBlockMockWithMachineName function core/tests/Drupal/Tests/UnitTestCaseDeprecationTest.php @covers ::getBlockMockWithMachineName
@expectedDeprecation Drupal\Tests\UnitTestCase::getBlockMockWithMachineName is deprecated in Drupal 8.5.x, will be removed before Drupal 9.0.0. Unit test base classes should not have dependencies on extensions.…
UnpublishedBlockTest class core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php Tests unpublishing of block_content entities.
UnpublishedBlockTest.php file core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php
UnpublishedBlockTest::$defaultTheme property core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php The theme to install as the default for testing.
UnpublishedBlockTest::$modules property core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php Modules to enable.
UnpublishedBlockTest::testViewShowsCorrectStates function core/modules/block_content/tests/src/Functional/UnpublishedBlockTest.php Tests unpublishing of block_content entities.
UpdateBlockForm class core/modules/layout_builder/src/Form/UpdateBlockForm.php Provides a form to update a block.
UpdateBlockForm.php file core/modules/layout_builder/src/Form/UpdateBlockForm.php
UpdateBlockForm::buildForm function core/modules/layout_builder/src/Form/UpdateBlockForm.php Builds the block form.
UpdateBlockForm::getFormId function core/modules/layout_builder/src/Form/UpdateBlockForm.php Returns a unique string identifying the form.
UpdateBlockForm::submitLabel function core/modules/layout_builder/src/Form/UpdateBlockForm.php Returns the label for the submit button.
User::block function core/modules/user/src/Entity/User.php Blocks the user.
User::isBlocked function core/modules/user/src/Entity/User.php Returns TRUE if the user is blocked.
UserAuthenticationController::userIsBlocked function core/modules/user/src/Controller/UserAuthenticationController.php Verifies if the user is blocked.
UserBlocksTest class core/modules/user/tests/src/Functional/UserBlocksTest.php Tests user blocks.
UserBlocksTest.php file core/modules/user/tests/src/Functional/UserBlocksTest.php
UserBlocksTest::$adminUser property core/modules/user/tests/src/Functional/UserBlocksTest.php A user with the 'administer blocks' permission.
UserBlocksTest::$defaultTheme property core/modules/user/tests/src/Functional/UserBlocksTest.php The theme to install as the default for testing.
UserBlocksTest::$modules property core/modules/user/tests/src/Functional/UserBlocksTest.php Modules to enable.
UserBlocksTest::setUp function core/modules/user/tests/src/Functional/UserBlocksTest.php
UserBlocksTest::testUserLoginBlock function core/modules/user/tests/src/Functional/UserBlocksTest.php Test the user login block.
UserBlocksTest::testUserLoginBlockVisibility function core/modules/user/tests/src/Functional/UserBlocksTest.php Tests that user login block is hidden from user/login.
UserCancelTest::testUserBlock function core/modules/user/tests/src/Functional/UserCancelTest.php Disable account and keep all content.
UserCancelTest::testUserBlockUnpublish function core/modules/user/tests/src/Functional/UserCancelTest.php Disable account and unpublish all content.
UserInterface::block function core/modules/user/src/UserInterface.php Blocks the user.
UserInterface::isBlocked function core/modules/user/src/UserInterface.php Returns TRUE if the user is blocked.
UserLoginBlock class core/modules/user/src/Plugin/Block/UserLoginBlock.php Provides a 'User login' block.
UserLoginBlock.php file core/modules/user/src/Plugin/Block/UserLoginBlock.php
UserLoginBlock::$routeMatch property core/modules/user/src/Plugin/Block/UserLoginBlock.php The route match.
UserLoginBlock::blockAccess function core/modules/user/src/Plugin/Block/UserLoginBlock.php
UserLoginBlock::build function core/modules/user/src/Plugin/Block/UserLoginBlock.php
UserLoginBlock::create function core/modules/user/src/Plugin/Block/UserLoginBlock.php Creates an instance of the plugin.
UserLoginBlock::renderPlaceholderFormAction function core/modules/user/src/Plugin/Block/UserLoginBlock.php #lazy_builder callback; renders a form action URL including destination.
UserLoginBlock::trustedCallbacks function core/modules/user/src/Plugin/Block/UserLoginBlock.php Lists the trusted callbacks provided by the implementing class.
UserLoginBlock::__construct function core/modules/user/src/Plugin/Block/UserLoginBlock.php Constructs a new UserLoginBlock instance.
user_is_blocked function core/modules/user/user.module Checks for usernames blocked by user administration.
user_preprocess_block function core/modules/user/user.module Implements hook_preprocess_HOOK() for block templates.
ValidationErrorBlock class core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/ValidationErrorBlock.php Provides a 'Block with validation error' test block.
ValidationErrorBlock.php file core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/ValidationErrorBlock.php
ValidationErrorBlock::build function core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/ValidationErrorBlock.php
ValidationErrorBlock::validateConfigurationForm function core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/ValidationErrorBlock.php
views.view.block_content.yml file core/modules/block_content/config/optional/views.view.block_content.yml core/modules/block_content/config/optional/views.view.block_content.yml
views.view.block_content_2976334.yml file core/modules/block_content/tests/fixtures/update/views.view.block_content_2976334.yml core/modules/block_content/tests/fixtures/update/views.view.block_content_2976334.yml

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