Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
BlockInterface::getPluginId function core/modules/block/src/BlockInterface.php Returns the plugin ID.
BlockInterface::getRegion function core/modules/block/src/BlockInterface.php Returns the region this block is placed in.
BlockInterface::getTheme function core/modules/block/src/BlockInterface.php Returns the theme ID.
BlockInterface::getVisibility function core/modules/block/src/BlockInterface.php Returns an array of visibility condition configurations.
BlockInterface::getVisibilityCondition function core/modules/block/src/BlockInterface.php Gets a visibility condition plugin instance.
BlockInterface::getVisibilityConditions function core/modules/block/src/BlockInterface.php Gets conditions for this block.
BlockInterface::getWeight function core/modules/block/src/BlockInterface.php Returns the weight of this block (used for sorting).
BlockInterface::setRegion function core/modules/block/src/BlockInterface.php Sets the region this block is placed in.
BlockInterface::setVisibilityConfig function core/modules/block/src/BlockInterface.php Sets the visibility condition configuration.
BlockInterface::setWeight function core/modules/block/src/BlockInterface.php Sets the block weight.
BlockInterfaceTest class core/modules/block/tests/src/Kernel/BlockInterfaceTest.php Tests that the block plugin can work properly without a supporting entity.
BlockInterfaceTest.php file core/modules/block/tests/src/Kernel/BlockInterfaceTest.php
BlockInterfaceTest::$modules property core/modules/block/tests/src/Kernel/BlockInterfaceTest.php Modules to enable.
BlockInterfaceTest::testBlockInterface function core/modules/block/tests/src/Kernel/BlockInterfaceTest.php Tests configuration and subsequent form() and build() method calls.
BlockInvalidRegionTest class core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php Tests that blocks assigned to invalid regions are disabled with a warning.
BlockInvalidRegionTest.php file core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php
BlockInvalidRegionTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php The theme to install as the default for testing.
BlockInvalidRegionTest::$modules property core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php Modules to install.
BlockInvalidRegionTest::setUp function core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php
BlockInvalidRegionTest::testBlockInInvalidRegion function core/modules/block/tests/src/Functional/BlockInvalidRegionTest.php Tests that blocks assigned to invalid regions work correctly.
BlockJsonAnonTest class core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php @group rest
BlockJsonAnonTest.php file core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php
BlockJsonAnonTest::$defaultTheme property core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php The theme to install as the default for testing.
BlockJsonAnonTest::$format property core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php The format to use in this test.
BlockJsonAnonTest::$mimeType property core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php The MIME type that corresponds to $format.
BlockJsonBasicAuthTest class core/modules/block/tests/src/Functional/Rest/BlockJsonBasicAuthTest.php @group rest
BlockJsonBasicAuthTest.php file core/modules/block/tests/src/Functional/Rest/BlockJsonBasicAuthTest.php
BlockJsonBasicAuthTest::$auth property core/modules/block/tests/src/Functional/Rest/BlockJsonBasicAuthTest.php The authentication mechanism to use in this test.
BlockJsonBasicAuthTest::$defaultTheme property core/modules/block/tests/src/Functional/Rest/BlockJsonBasicAuthTest.php The theme to install as the default for testing.
BlockJsonBasicAuthTest::$format property core/modules/block/tests/src/Functional/Rest/BlockJsonBasicAuthTest.php The format to use in this test.
BlockJsonBasicAuthTest::$mimeType property core/modules/block/tests/src/Functional/Rest/BlockJsonBasicAuthTest.php The MIME type that corresponds to $format.
BlockJsonBasicAuthTest::$modules property core/modules/block/tests/src/Functional/Rest/BlockJsonBasicAuthTest.php Modules to install.
BlockJsonCookieTest class core/modules/block/tests/src/Functional/Rest/BlockJsonCookieTest.php @group rest
BlockJsonCookieTest.php file core/modules/block/tests/src/Functional/Rest/BlockJsonCookieTest.php
BlockJsonCookieTest::$auth property core/modules/block/tests/src/Functional/Rest/BlockJsonCookieTest.php The authentication mechanism to use in this test.
BlockJsonCookieTest::$defaultTheme property core/modules/block/tests/src/Functional/Rest/BlockJsonCookieTest.php The theme to install as the default for testing.
BlockJsonCookieTest::$format property core/modules/block/tests/src/Functional/Rest/BlockJsonCookieTest.php The format to use in this test.
BlockJsonCookieTest::$mimeType property core/modules/block/tests/src/Functional/Rest/BlockJsonCookieTest.php The MIME type that corresponds to $format.
BlockLanguageCacheTest class core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php Tests display of menu blocks with multiple languages.
BlockLanguageCacheTest.php file core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php
BlockLanguageCacheTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php The theme to install as the default for testing.
BlockLanguageCacheTest::$langcodes property core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php List of langcodes.
BlockLanguageCacheTest::$modules property core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php Modules to install.
BlockLanguageCacheTest::setUp function core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php
BlockLanguageCacheTest::testBlockLinks function core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php Creates a block in a language, check blocks page in all languages.
BlockLanguageTest class core/modules/block/tests/src/Functional/BlockLanguageTest.php Tests per-language block configuration.
BlockLanguageTest.php file core/modules/block/tests/src/Functional/BlockLanguageTest.php
BlockLanguageTest::$adminUser property core/modules/block/tests/src/Functional/BlockLanguageTest.php An administrative user to configure the test environment.
BlockLanguageTest::$defaultTheme property core/modules/block/tests/src/Functional/BlockLanguageTest.php The theme to install as the default for testing.
BlockLanguageTest::$modules property core/modules/block/tests/src/Functional/BlockLanguageTest.php Modules to install.

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