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
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 Tests 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 Tests 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::testBlockTitle function core/modules/block/tests/src/Functional/BlockTest.php Tests block title.
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 Tests 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 Tests 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 Tests 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/tests/src/Functional/BlockTestBase.php Provides setup and helper methods for block module tests.
BlockTestBase.php file core/modules/block/tests/src/Functional/BlockTestBase.php
BlockTestBase::$adminUser property core/modules/block/tests/src/Functional/BlockTestBase.php A test user with administrative privileges.
BlockTestBase::$modules property core/modules/block/tests/src/Functional/BlockTestBase.php Modules to install.
BlockTestBase::$regions property core/modules/block/tests/src/Functional/BlockTestBase.php A list of theme regions to test.
BlockTestBase::setUp function core/modules/block/tests/src/Functional/BlockTestBase.php
BlockTheme class core/modules/block/src/Plugin/migrate/process/BlockTheme.php Plugin annotation

@MigrateProcessPlugin(
id = "block_theme"
)
BlockTheme.php file core/modules/block/src/Plugin/migrate/process/BlockTheme.php
BlockTheme::$configFactory property core/modules/block/src/Plugin/migrate/process/BlockTheme.php Contains the configuration object factory.
BlockTheme::$themeConfig property core/modules/block/src/Plugin/migrate/process/BlockTheme.php Contains the system.theme configuration object.
BlockTheme::$themes property core/modules/block/src/Plugin/migrate/process/BlockTheme.php List of themes available on the destination.
BlockTheme::create function core/modules/block/src/Plugin/migrate/process/BlockTheme.php Creates an instance of the plugin.
BlockTheme::transform function core/modules/block/src/Plugin/migrate/process/BlockTheme.php Performs the associated process.
BlockTheme::__construct function core/modules/block/src/Plugin/migrate/process/BlockTheme.php Constructs a BlockTheme object.
BlockTranslation class core/modules/block/src/Plugin/migrate/source/d6/BlockTranslation.php Drupal 6 i18n block data from database.

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