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
BlockRebuildTest::$modules property core/modules/block/tests/src/Kernel/BlockRebuildTest.php Modules to enable.
BlockRebuildTest::setUp function core/modules/block/tests/src/Kernel/BlockRebuildTest.php
BlockRebuildTest::setUpBeforeClass function core/modules/block/tests/src/Kernel/BlockRebuildTest.php
BlockRebuildTest::testRebuildInvalidBlocks function core/modules/block/tests/src/Kernel/BlockRebuildTest.php @covers ::block_rebuild
BlockRebuildTest::testRebuildNoBlocks function core/modules/block/tests/src/Kernel/BlockRebuildTest.php @covers ::block_rebuild
BlockRebuildTest::testRebuildNoInvalidBlocks function core/modules/block/tests/src/Kernel/BlockRebuildTest.php @covers ::block_rebuild
BlockRegion class core/modules/block/src/Plugin/migrate/process/BlockRegion.php Plugin annotation

@MigrateProcessPlugin(
id = "block_region"
)
BlockRegion.php file core/modules/block/src/Plugin/migrate/process/BlockRegion.php
BlockRegion::$regions property core/modules/block/src/Plugin/migrate/process/BlockRegion.php List of regions, keyed by theme.
BlockRegion::create function core/modules/block/src/Plugin/migrate/process/BlockRegion.php Creates an instance of the plugin.
BlockRegion::transform function core/modules/block/src/Plugin/migrate/process/BlockRegion.php Performs the associated process.
BlockRegion::__construct function core/modules/block/src/Plugin/migrate/process/BlockRegion.php Constructs a BlockRegion plugin instance.
BlockRegionTest class core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php @coversDefaultClass \Drupal\block\Plugin\migrate\process\BlockRegion
@group block
BlockRegionTest.php file core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php
BlockRegionTest::testTransformSameThemeRegionExists function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php Tests transforming a block with the same theme and an existing region.
BlockRegionTest::testTransformSameThemeRegionNotExists function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php Tests transforming a block with the same theme and a non-existent region.
BlockRegionTest::transform function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php Transforms a value through the block_region plugin.
BlockRenderAlterContent class core/modules/block/tests/modules/block_test/src/BlockRenderAlterContent.php Implements a trusted preRender callback.
BlockRenderAlterContent.php file core/modules/block/tests/modules/block_test/src/BlockRenderAlterContent.php
BlockRenderAlterContent::preRender function core/modules/block/tests/modules/block_test/src/BlockRenderAlterContent.php #pre_render callback for a block to alter its content.
BlockRenderOrderTest class core/modules/block/tests/src/Functional/BlockRenderOrderTest.php Tests blocks are being rendered in order by weight.
BlockRenderOrderTest.php file core/modules/block/tests/src/Functional/BlockRenderOrderTest.php
BlockRenderOrderTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockRenderOrderTest.php The theme to install as the default for testing.
BlockRenderOrderTest::$modules property core/modules/block/tests/src/Functional/BlockRenderOrderTest.php Modules to install.
BlockRenderOrderTest::setUp function core/modules/block/tests/src/Functional/BlockRenderOrderTest.php
BlockRenderOrderTest::testBlockRenderOrder function core/modules/block/tests/src/Functional/BlockRenderOrderTest.php Tests the render order of the blocks.
BlockRepository class core/modules/block/src/BlockRepository.php Provides a repository for Block config entities.
BlockRepository.php file core/modules/block/src/BlockRepository.php
BlockRepository::$blockStorage property core/modules/block/src/BlockRepository.php The block storage.
BlockRepository::$contextHandler property core/modules/block/src/BlockRepository.php The context handler.
BlockRepository::$themeManager property core/modules/block/src/BlockRepository.php The theme manager.
BlockRepository::getVisibleBlocksPerRegion function core/modules/block/src/BlockRepository.php Returns an array of regions and their block entities.
BlockRepository::__construct function core/modules/block/src/BlockRepository.php Constructs a new BlockRepository.
BlockRepositoryInterface interface core/modules/block/src/BlockRepositoryInterface.php
BlockRepositoryInterface.php file core/modules/block/src/BlockRepositoryInterface.php
BlockRepositoryInterface::getVisibleBlocksPerRegion function core/modules/block/src/BlockRepositoryInterface.php Returns an array of regions and their block entities.
BlockRepositoryInterface::REGIONS_ALL constant core/modules/block/src/BlockRepositoryInterface.php Return all regions.
BlockRepositoryInterface::REGIONS_VISIBLE constant core/modules/block/src/BlockRepositoryInterface.php Return only visible regions.
BlockRepositoryTest class core/modules/block/tests/src/Unit/BlockRepositoryTest.php @coversDefaultClass \Drupal\block\BlockRepository
@group block
BlockRepositoryTest.php file core/modules/block/tests/src/Unit/BlockRepositoryTest.php
BlockRepositoryTest::$blockRepository property core/modules/block/tests/src/Unit/BlockRepositoryTest.php
BlockRepositoryTest::$blockStorage property core/modules/block/tests/src/Unit/BlockRepositoryTest.php
BlockRepositoryTest::$contextHandler property core/modules/block/tests/src/Unit/BlockRepositoryTest.php
BlockRepositoryTest::$theme property core/modules/block/tests/src/Unit/BlockRepositoryTest.php
BlockRepositoryTest::providerBlocksConfig function core/modules/block/tests/src/Unit/BlockRepositoryTest.php
BlockRepositoryTest::setUp function core/modules/block/tests/src/Unit/BlockRepositoryTest.php
BlockRepositoryTest::testGetVisibleBlocksPerRegion function core/modules/block/tests/src/Unit/BlockRepositoryTest.php Tests the retrieval of block entities.
BlockRepositoryTest::testGetVisibleBlocksPerRegionWithContext function core/modules/block/tests/src/Unit/BlockRepositoryTest.php Tests the retrieval of block entities that are context-aware.
BlockResourceTestBase class core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php
BlockResourceTestBase.php file core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php

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