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
BlockViewBuilderTest class core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Tests the block view builder.
BlockViewBuilderTest.php file core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php
BlockViewBuilderTest::$block property core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php The block being tested.
BlockViewBuilderTest::$controller property core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php The block storage.
BlockViewBuilderTest::$modules property core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Modules to install.
BlockViewBuilderTest::$renderer property core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php The renderer.
BlockViewBuilderTest::assertBlockRenderedWithExpectedCacheability function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Asserts that a block is built/rendered/cached with expected cacheability.
BlockViewBuilderTest::getBlockRenderArray function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Get a fully built render array for a block.
BlockViewBuilderTest::setUp function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php
BlockViewBuilderTest::testBasicRendering function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Tests the rendering of blocks.
BlockViewBuilderTest::testBlockViewBuilderBuildAlter function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Tests block build altering.
BlockViewBuilderTest::testBlockViewBuilderCache function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Tests block render cache handling.
BlockViewBuilderTest::testBlockViewBuilderViewAlter function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Tests block view altering.
BlockViewBuilderTest::verifyRenderCacheHandling function core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php Verifies render cache handling of the block being tested.
BlockVisibility class core/modules/block/src/Plugin/migrate/process/BlockVisibility.php Plugin annotation

@MigrateProcessPlugin(
id = "block_visibility"
)
BlockVisibility.php file core/modules/block/src/Plugin/migrate/process/BlockVisibility.php
BlockVisibility::$migrateLookup property core/modules/block/src/Plugin/migrate/process/BlockVisibility.php The migrate lookup service.
BlockVisibility::$moduleHandler property core/modules/block/src/Plugin/migrate/process/BlockVisibility.php The module handler.
BlockVisibility::$skipPHP property core/modules/block/src/Plugin/migrate/process/BlockVisibility.php Whether or not to skip blocks that use PHP for visibility.
BlockVisibility::create function core/modules/block/src/Plugin/migrate/process/BlockVisibility.php Creates an instance of the plugin.
BlockVisibility::transform function core/modules/block/src/Plugin/migrate/process/BlockVisibility.php Performs the associated process.
BlockVisibility::__construct function core/modules/block/src/Plugin/migrate/process/BlockVisibility.php Constructs a BlockVisibility object.
BlockVisibilityTest class core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php Tests the block_visibility process plugin.
BlockVisibilityTest.php file core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php
BlockVisibilityTest::$moduleHandler property core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php The module handler.
BlockVisibilityTest::setUp function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php
BlockVisibilityTest::testTransformException function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php @covers ::transform
BlockVisibilityTest::testTransformMultiplePagesWithFront function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php @covers ::transform
BlockVisibilityTest::testTransformNoData function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php @covers ::transform
BlockVisibilityTest::testTransformPhpDisabled function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php @covers ::transform
BlockVisibilityTest::testTransformPhpEnabled function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php @covers ::transform
BlockVisibilityTest::testTransformSinglePageWithFront function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php @covers ::transform
BlockXmlAnonTest class core/modules/block/tests/src/Functional/Rest/BlockXmlAnonTest.php @group rest
BlockXmlAnonTest.php file core/modules/block/tests/src/Functional/Rest/BlockXmlAnonTest.php
BlockXmlAnonTest::$defaultTheme property core/modules/block/tests/src/Functional/Rest/BlockXmlAnonTest.php The theme to install as the default for testing.
BlockXmlAnonTest::$format property core/modules/block/tests/src/Functional/Rest/BlockXmlAnonTest.php The format to use in this test.
BlockXmlAnonTest::$mimeType property core/modules/block/tests/src/Functional/Rest/BlockXmlAnonTest.php The MIME type that corresponds to $format.
BlockXmlBasicAuthTest class core/modules/block/tests/src/Functional/Rest/BlockXmlBasicAuthTest.php @group rest
BlockXmlBasicAuthTest.php file core/modules/block/tests/src/Functional/Rest/BlockXmlBasicAuthTest.php
BlockXmlBasicAuthTest::$auth property core/modules/block/tests/src/Functional/Rest/BlockXmlBasicAuthTest.php The authentication mechanism to use in this test.
BlockXmlBasicAuthTest::$defaultTheme property core/modules/block/tests/src/Functional/Rest/BlockXmlBasicAuthTest.php The theme to install as the default for testing.
BlockXmlBasicAuthTest::$format property core/modules/block/tests/src/Functional/Rest/BlockXmlBasicAuthTest.php The format to use in this test.
BlockXmlBasicAuthTest::$mimeType property core/modules/block/tests/src/Functional/Rest/BlockXmlBasicAuthTest.php The MIME type that corresponds to $format.
BlockXmlBasicAuthTest::$modules property core/modules/block/tests/src/Functional/Rest/BlockXmlBasicAuthTest.php Modules to install.
BlockXmlCookieTest class core/modules/block/tests/src/Functional/Rest/BlockXmlCookieTest.php @group rest
BlockXmlCookieTest.php file core/modules/block/tests/src/Functional/Rest/BlockXmlCookieTest.php
BlockXmlCookieTest::$auth property core/modules/block/tests/src/Functional/Rest/BlockXmlCookieTest.php The authentication mechanism to use in this test.
BlockXmlCookieTest::$defaultTheme property core/modules/block/tests/src/Functional/Rest/BlockXmlCookieTest.php The theme to install as the default for testing.
BlockXmlCookieTest::$format property core/modules/block/tests/src/Functional/Rest/BlockXmlCookieTest.php The format to use in this test.
BlockXmlCookieTest::$mimeType property core/modules/block/tests/src/Functional/Rest/BlockXmlCookieTest.php The MIME type that corresponds to $format.

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