Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| Block::__construct | function | core/ |
Constructs a Block attribute. |
| BlockAccessControlHandler | class | core/ |
Defines the access control handler for the content block entity type. |
| BlockAccessControlHandler.php | file | core/ |
|
| BlockAccessControlHandler::$contextHandler | property | core/ |
The plugin context handler. |
| BlockAccessControlHandler::$contextRepository | property | core/ |
The context manager service. |
| BlockAccessControlHandler::checkAccess | function | core/ |
Performs access checks. |
| BlockAccessControlHandler::createInstance | function | core/ |
Instantiates a new instance of this entity handler. |
| BlockAccessControlHandler::mergeCacheabilityFromConditions | function | core/ |
Merges cacheable metadata from conditions onto the access result object. |
| BlockAccessControlHandler::__construct | function | core/ |
Constructs the block access control handler instance. |
| BlockAddController | class | core/ |
Controller for building the block instance add form. |
| BlockAddController.php | file | core/ |
|
| BlockAddController::blockAddConfigureForm | function | core/ |
Build the block instance add form. |
| BlockAddTest | class | core/ |
Tests the JS functionality in the block add form. |
| BlockAddTest.php | file | core/ |
|
| BlockAddTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| BlockAddTest::$modules | property | core/ |
Modules to install. |
| BlockAddTest::testBlockAddThemeSelector | function | core/ |
Tests the AJAX for the theme selector. |
| BlockAdminThemeTest | class | core/ |
Tests the block system with admin themes. |
| BlockAdminThemeTest.php | file | core/ |
|
| BlockAdminThemeTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| BlockAdminThemeTest::$modules | property | core/ |
Modules to install. |
| BlockAdminThemeTest::testAdminTheme | function | core/ |
Check for the accessibility of the admin theme on the block admin page. |
| BlockAdminThemeTest::testClaroAdminTheme | function | core/ |
Ensure contextual links are disabled in Claro theme. |
| BlockBase | class | core/ |
Defines a base block implementation that most blocks plugins will extend. |
| BlockBase.php | file | core/ |
|
| BlockBase::buildConfigurationForm | function | core/ |
Form constructor. |
| BlockBase::submitConfigurationForm | function | core/ |
Form submission handler. |
| BlockBaseTest | class | core/ |
Tests Drupal\Core\Block\BlockBase. |
| BlockBaseTest | class | core/ |
Tests the BlockBase class, base for all block plugins. |
| BlockBaseTest.php | file | core/ |
|
| BlockBaseTest.php | file | core/ |
|
| BlockBaseTest::$modules | property | core/ |
Modules to install. |
| BlockBaseTest::providerTestGetMachineNameSuggestion | function | core/ |
Provides data for testGetMachineNameSuggestion(). |
| BlockBaseTest::testContextMapping | function | core/ |
Tests that blocks config form have context mapping, and it is stored in configuration. |
| BlockBaseTest::testGetMachineNameSuggestion | function | core/ |
Tests the machine name suggestion. |
| BlockCacheTest | class | core/ |
Tests block caching. |
| BlockCacheTest.php | file | core/ |
|
| BlockCacheTest::$adminUser | property | core/ |
A user with permission to administer blocks. |
| BlockCacheTest::$block | property | core/ |
The block used by this test. |
| BlockCacheTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| BlockCacheTest::$modules | property | core/ |
Modules to install. |
| BlockCacheTest::$normalUser | property | core/ |
An authenticated user to test block caching. |
| BlockCacheTest::$normalUserAlt | property | core/ |
Another authenticated user to test block caching. |
| BlockCacheTest::setUp | function | core/ |
|
| BlockCacheTest::testCachePermissions | function | core/ |
Tests a cacheable block without any additional cache context. |
| BlockCacheTest::testCachePerPage | function | core/ |
Tests "url" cache context. |
| BlockCacheTest::testCachePerRole | function | core/ |
Tests "user.roles" cache context. |
| BlockCacheTest::testCachePerUser | function | core/ |
Tests "user" cache context. |
| BlockCacheTest::testNoCache | function | core/ |
Tests non-cacheable block. |
| BlockComponentRenderArray | class | core/ |
Builds render arrays and handles access for all block components. |
Pagination
- Previous page
- Page 94
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.