Search for block

  1. Search 7.x for block
  2. Search 8.9.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 6/7 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
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 Tests 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.
UserCancelTest::testUserBlockUnpublishNodeAccess function core/modules/user/tests/src/Functional/UserCancelTest.php Tests nodes are unpublished even if inaccessible to cancelling user.
UserEvents::FLOOD_BLOCKED_IP constant core/modules/user/src/Event/UserEvents.php The name of the event fired when a login is blocked by flood control.
UserEvents::FLOOD_BLOCKED_USER constant core/modules/user/src/Event/UserEvents.php The name of the event fired when a login is blocked by flood control.
UserFloodSubscriber::blockedIp function core/modules/user/src/EventSubscriber/UserFloodSubscriber.php An attempt to login has been blocked based on IP.
UserFloodSubscriber::blockedUser function core/modules/user/src/EventSubscriber/UserFloodSubscriber.php An attempt to login has been blocked based on user name.
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 Indicates whether the block should be shown.
UserLoginBlock::build function core/modules/user/src/Plugin/Block/UserLoginBlock.php Builds and returns the renderable array for this block plugin.
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.
UserTest::testDeleteRespectsUserCancelBlock function core/modules/jsonapi/tests/src/Functional/UserTest.php Tests if JSON:API respects user.settings.cancel_method: user_cancel_block.
UserTest::testDeleteRespectsUserCancelBlockUnpublish function core/modules/jsonapi/tests/src/Functional/UserTest.php Tests if JSON:API respects user.settings.cancel_method: user_cancel_block_unpublish.
UserTest::testDeleteRespectsUserCancelBlockUnpublishAndProcessesBatches function core/modules/jsonapi/tests/src/Functional/UserTest.php Tests if JSON:API respects user.settings.cancel_method: user_cancel_block_unpublish.
@group jsonapi
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 Builds and returns the renderable array for this block plugin.
ValidationErrorBlock::validateConfigurationForm function core/modules/settings_tray/tests/modules/settings_tray_test/src/Plugin/Block/ValidationErrorBlock.php Most block plugins should not override this method. To add validation
for a specific block type, override BlockBase::blockValidate().
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.test_block_content_redirect_destination.yml file core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_block_content_redirect_destination.yml core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_block_content_redirect_destination.yml
views.view.test_block_content_revision_id.yml file core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_block_content_revision_id.yml core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_block_content_revision_id.yml
views.view.test_block_content_revision_revision_id.yml file core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_block_content_revision_revision_id.yml core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_block_content_revision_revision_id.yml
views.view.test_block_content_revision_user.yml file core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_block_content_revision_user.yml core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_block_content_revision_user.yml

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