Search for form
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Form | class | core/ |
Provides a render element for a form. |
Form | class | core/ |
Form to test _form routing. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
BlockFormInBlockTest::setUp | function | core/ |
|
BlockFormInBlockTest::testCachePerPage | function | core/ |
Tests to see if form in block's redirect isn't cached. |
BlockFormInBlockTest::testPlaceholders | function | core/ |
Tests the actual placeholders. |
BlockFormMessagesTest | class | core/ |
Tests that messages appear in the off-canvas dialog with configuring blocks. |
BlockFormMessagesTest.php | file | core/ |
|
BlockFormMessagesTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
BlockFormMessagesTest::$modules | property | core/ |
Modules to install. |
BlockFormMessagesTest::assertMessagesDisplayed | function | core/ |
Asserts that the validation messages are shown correctly. |
BlockFormMessagesTest::setUp | function | core/ |
|
BlockFormMessagesTest::testValidationMessage | function | core/ |
Tests that validation messages are shown on the block form. |
BlockFormTest | class | core/ |
@coversDefaultClass \Drupal\block\BlockForm[[api-linebreak]] @group block |
BlockFormTest.php | file | core/ |
|
BlockFormTest::$blockRepository | property | core/ |
The block repository. |
BlockFormTest::$conditionManager | property | core/ |
The condition plugin manager. |
BlockFormTest::$contextHandler | property | core/ |
The mocked context handler. |
BlockFormTest::$contextRepository | property | core/ |
The mocked context repository. |
BlockFormTest::$entityTypeManager | property | core/ |
The entity type manager. |
BlockFormTest::$language | property | core/ |
The language manager service. |
BlockFormTest::$pluginFormFactory | property | core/ |
The plugin form manager. |
BlockFormTest::$storage | property | core/ |
The block storage. |
BlockFormTest::$themeHandler | property | core/ |
The theme handler. |
BlockFormTest::$themeManager | property | core/ |
The theme manager service. |
BlockFormTest::getBlockMockWithMachineName | function | core/ |
Mocks a block with a block plugin. |
BlockFormTest::setUp | function | core/ |
|
BlockFormTest::testGetUniqueMachineName | function | core/ |
Tests the unique machine name generator. |
BlockJsonAnonTest::$format | property | core/ |
The format to use in this test. |
BlockJsonBasicAuthTest::$format | property | core/ |
The format to use in this test. |
BlockJsonCookieTest::$format | property | core/ |
The format to use in this test. |
BlockListBuilder::$formBuilder | property | core/ |
The form builder. |
BlockListBuilder::buildBlocksForm | function | core/ |
Builds the main "Blocks" portion of the form. |
BlockListBuilder::buildForm | function | core/ |
Form constructor. |
BlockListBuilder::getFormId | function | core/ |
Returns a unique string identifying the form. |
BlockListBuilder::submitForm | function | core/ |
Form submission handler. |
BlockListBuilder::validateForm | function | core/ |
Form validation handler. |
BlockPluginHasSettingsTrayFormAccessCheck | class | core/ |
Determines whether the requested block has a 'settings_tray' form. |
BlockPluginHasSettingsTrayFormAccessCheck.php | file | core/ |
|
BlockPluginHasSettingsTrayFormAccessCheck::access | function | core/ |
Checks access for accessing a block's 'settings_tray' form. |
BlockPluginHasSettingsTrayFormAccessCheck::accessBlockPlugin | function | core/ |
Checks access for accessing a block plugin's 'settings_tray' form. |
BlockPluginHasSettingsTrayFormAccessCheckTest | class | core/ |
@coversDefaultClass \Drupal\settings_tray\Access\BlockPluginHasSettingsTrayFormAccessCheck[[api-linebreak]] @group settings_tray |
BlockPluginHasSettingsTrayFormAccessCheckTest.php | file | core/ |
|
BlockPluginHasSettingsTrayFormAccessCheckTest::providerTestAccess | function | core/ |
Provides test data for ::testAccess(). |
BlockPluginHasSettingsTrayFormAccessCheckTest::testAccess | function | core/ |
@covers ::access[[api-linebreak]] @covers ::accessBlockPlugin[[api-linebreak]] @dataProvider providerTestAccess |
BlockPluginId::transform | function | core/ |
Set the block plugin id. |
BlockPluginInterface::blockForm | function | core/ |
Returns the configuration form elements specific to this block plugin. |
BlockPluginTrait::blockForm | function | core/ |
|
BlockPluginTrait::buildConfigurationForm | function | core/ |
Creates a generic configuration form for all block types. Individual block plugins can add elements to this form by overriding BlockBase::blockForm(). Most block plugins should not override this method unless they need to alter the generic form elements. |
BlockPluginTrait::submitConfigurationForm | function | core/ |
Most block plugins should not override this method. To add submission handling for a specific block type, override BlockBase::blockSubmit(). |
BlockPluginTrait::validateConfigurationForm | function | core/ |
Most block plugins should not override this method. To add validation for a specific block type, override BlockBase::blockValidate(). |
BlockRegion::transform | function | core/ |
Performs the associated process. |
BlockRegionTest::testTransformSameThemeRegionExists | function | core/ |
Tests transforming a block with the same theme and an existing region. |
Pagination
- Previous page
- Page 10
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.