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
BlockTemplateSuggestionsTest.php file core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php
BlockTemplateSuggestionsTest::$modules property core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php Modules to enable.
BlockTemplateSuggestionsTest::testBlockThemeHookSuggestions function core/modules/block/tests/src/Kernel/BlockTemplateSuggestionsTest.php Tests template suggestions from block_theme_suggestions_block().
BlockTest class core/modules/block/tests/src/Kernel/Plugin/migrate/source/BlockTest.php Tests block source plugin.
BlockTest class core/modules/block/tests/src/Functional/BlockTest.php Tests basic block functionality.
BlockTest class core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php @coversDefaultClass \Drupal\views\Plugin\views\display\Block
@group block
BlockTest class core/modules/jsonapi/tests/src/Functional/BlockTest.php JSON:API integration test for the "Block" config entity type.
BlockTest.php file core/modules/jsonapi/tests/src/Functional/BlockTest.php
BlockTest.php file core/modules/block/tests/src/Functional/BlockTest.php
BlockTest.php file core/modules/block/tests/src/Kernel/Plugin/migrate/source/BlockTest.php
BlockTest.php file core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php
BlockTest::$blockDisplay property core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php The tested block display plugin.
BlockTest::$blockPlugin property core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php The views block plugin.
BlockTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockTest.php The theme to install as the default for testing.
BlockTest::$defaultTheme property core/modules/jsonapi/tests/src/Functional/BlockTest.php The theme to install as the default for testing.
BlockTest::$entity property core/modules/jsonapi/tests/src/Functional/BlockTest.php
BlockTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/BlockTest.php The tested entity type.
BlockTest::$executable property core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php The view executable.
BlockTest::$modules property core/modules/jsonapi/tests/src/Functional/BlockTest.php Modules to enable.
BlockTest::$modules property core/modules/block/tests/src/Kernel/Plugin/migrate/source/BlockTest.php Modules to enable.
BlockTest::$resourceTypeName property core/modules/jsonapi/tests/src/Functional/BlockTest.php The name of the tested JSON:API resource type.
BlockTest::createEntity function core/modules/jsonapi/tests/src/Functional/BlockTest.php Creates the entity to be tested.
BlockTest::getExpectedCacheContexts function core/modules/jsonapi/tests/src/Functional/BlockTest.php The expected cache contexts for the GET/HEAD response of the test entity.
BlockTest::getExpectedCacheTags function core/modules/jsonapi/tests/src/Functional/BlockTest.php The expected cache tags for the GET/HEAD response of the test entity.
BlockTest::getExpectedCollectionCacheability function core/modules/jsonapi/tests/src/Functional/BlockTest.php Computes the cacheability for a given entity collection.
BlockTest::getExpectedDocument function core/modules/jsonapi/tests/src/Functional/BlockTest.php Returns the expected JSON:API document for the entity.
BlockTest::getExpectedUnauthorizedAccessCacheability function core/modules/jsonapi/tests/src/Functional/BlockTest.php Returns the expected cacheability for an unauthorized response.
BlockTest::getExpectedUnauthorizedAccessMessage function core/modules/jsonapi/tests/src/Functional/BlockTest.php Return the expected error message.
BlockTest::getPostDocument function core/modules/jsonapi/tests/src/Functional/BlockTest.php Returns the JSON:API POST document.
BlockTest::moveBlockToRegion function core/modules/block/tests/src/Functional/BlockTest.php Moves a block to a given region via the UI and confirms the result.
BlockTest::providerSource function core/modules/block/tests/src/Kernel/Plugin/migrate/source/BlockTest.php The data provider.
BlockTest::setUp function core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php
BlockTest::setUpAuthorization function core/modules/jsonapi/tests/src/Functional/BlockTest.php Sets up the necessary authorization.
BlockTest::testAddBlockFromLibraryWithWeight function core/modules/block/tests/src/Functional/BlockTest.php Tests adding a block from the library page with a weight query string.
BlockTest::testBlock function core/modules/block/tests/src/Functional/BlockTest.php Test configuring and moving a module-define block to specific regions.
BlockTest::testBlockAccess function core/modules/block/tests/src/Functional/BlockTest.php Tests the block access.
BlockTest::testBlockCacheTags function core/modules/block/tests/src/Functional/BlockTest.php Test that cache tags are properly set and bubbled up to the page cache.
BlockTest::testBlockThemeSelector function core/modules/block/tests/src/Functional/BlockTest.php Tests that the block form has a theme selector when not passed via the URL.
BlockTest::testBlockToggleVisibility function core/modules/block/tests/src/Functional/BlockTest.php Tests that visibility can be properly toggled.
BlockTest::testBlockUserRoleDelete function core/modules/block/tests/src/Functional/BlockTest.php Tests block_user_role_delete.
BlockTest::testBlockVisibility function core/modules/block/tests/src/Functional/BlockTest.php Tests block visibility.
BlockTest::testBlockVisibilityListedEmpty function core/modules/block/tests/src/Functional/BlockTest.php Test block visibility when leaving "pages" textarea empty.
BlockTest::testBuildNoOverride function core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php Tests the build method with no overriding.
BlockTest::testBuildOverride function core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php Tests the build method with overriding items per page.
BlockTest::testHideBlockTitle function core/modules/block/tests/src/Functional/BlockTest.php Test block title display settings.
BlockTest::testThemeAdminLink function core/modules/block/tests/src/Functional/BlockTest.php Tests that a link exists to block layout from the appearance form.
BlockTest::testThemeName function core/modules/block/tests/src/Functional/BlockTest.php Test block display of theme titles.
BlockTest::testUninstallTheme function core/modules/block/tests/src/Functional/BlockTest.php Tests that uninstalling a theme removes its block configuration.
BlockTestBase class core/modules/block/src/Tests/BlockTestBase.php Provides setup and helper methods for block module tests.
BlockTestBase class core/modules/block/tests/src/Functional/BlockTestBase.php Provides setup and helper methods for block module tests.

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