Search for form

  1. Search 7.x for form
  2. Search 9.5.x for form
  3. Search 8.9.x for form
  4. Search 10.3.x for form
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Form class core/lib/Drupal/Core/Render/Element/Form.php Provides a render element for a form.
Form class core/modules/system/tests/modules/router_test_directory/src/Form.php Form to test _form routing.

All search results

Title Object type File name Summary
BlockFormInBlockTest::setUp function core/modules/block/tests/src/Functional/BlockFormInBlockTest.php
BlockFormInBlockTest::testCachePerPage function core/modules/block/tests/src/Functional/BlockFormInBlockTest.php Tests to see if form in block's redirect isn't cached.
BlockFormInBlockTest::testPlaceholders function core/modules/block/tests/src/Functional/BlockFormInBlockTest.php Tests the actual placeholders.
BlockFormMessagesTest class core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php Tests that messages appear in the off-canvas dialog with configuring blocks.
BlockFormMessagesTest.php file core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php
BlockFormMessagesTest::$defaultTheme property core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php The theme to install as the default for testing.
BlockFormMessagesTest::$modules property core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php Modules to install.
BlockFormMessagesTest::assertMessagesDisplayed function core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php Asserts that the validation messages are shown correctly.
BlockFormMessagesTest::setUp function core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php
BlockFormMessagesTest::testValidationMessage function core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFormMessagesTest.php Tests that validation messages are shown on the block form.
BlockFormTest class core/modules/block/tests/src/Unit/BlockFormTest.php @coversDefaultClass \Drupal\block\BlockForm[[api-linebreak]]
@group block
BlockFormTest.php file core/modules/block/tests/src/Unit/BlockFormTest.php
BlockFormTest::$blockRepository property core/modules/block/tests/src/Unit/BlockFormTest.php The block repository.
BlockFormTest::$conditionManager property core/modules/block/tests/src/Unit/BlockFormTest.php The condition plugin manager.
BlockFormTest::$contextHandler property core/modules/block/tests/src/Unit/BlockFormTest.php The mocked context handler.
BlockFormTest::$contextRepository property core/modules/block/tests/src/Unit/BlockFormTest.php The mocked context repository.
BlockFormTest::$entityTypeManager property core/modules/block/tests/src/Unit/BlockFormTest.php The entity type manager.
BlockFormTest::$language property core/modules/block/tests/src/Unit/BlockFormTest.php The language manager service.
BlockFormTest::$pluginFormFactory property core/modules/block/tests/src/Unit/BlockFormTest.php The plugin form manager.
BlockFormTest::$storage property core/modules/block/tests/src/Unit/BlockFormTest.php The block storage.
BlockFormTest::$themeHandler property core/modules/block/tests/src/Unit/BlockFormTest.php The theme handler.
BlockFormTest::$themeManager property core/modules/block/tests/src/Unit/BlockFormTest.php The theme manager service.
BlockFormTest::getBlockMockWithMachineName function core/modules/block/tests/src/Unit/BlockFormTest.php Mocks a block with a block plugin.
BlockFormTest::setUp function core/modules/block/tests/src/Unit/BlockFormTest.php
BlockFormTest::testGetUniqueMachineName function core/modules/block/tests/src/Unit/BlockFormTest.php Tests the unique machine name generator.
BlockJsonAnonTest::$format property core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php The format to use in this test.
BlockJsonBasicAuthTest::$format property core/modules/block/tests/src/Functional/Rest/BlockJsonBasicAuthTest.php The format to use in this test.
BlockJsonCookieTest::$format property core/modules/block/tests/src/Functional/Rest/BlockJsonCookieTest.php The format to use in this test.
BlockListBuilder::$formBuilder property core/modules/block/src/BlockListBuilder.php The form builder.
BlockListBuilder::buildBlocksForm function core/modules/block/src/BlockListBuilder.php Builds the main "Blocks" portion of the form.
BlockListBuilder::buildForm function core/modules/block/src/BlockListBuilder.php Form constructor.
BlockListBuilder::getFormId function core/modules/block/src/BlockListBuilder.php Returns a unique string identifying the form.
BlockListBuilder::submitForm function core/modules/block/src/BlockListBuilder.php Form submission handler.
BlockListBuilder::validateForm function core/modules/block/src/BlockListBuilder.php Form validation handler.
BlockPluginHasSettingsTrayFormAccessCheck class core/modules/settings_tray/src/Access/BlockPluginHasSettingsTrayFormAccessCheck.php Determines whether the requested block has a 'settings_tray' form.
BlockPluginHasSettingsTrayFormAccessCheck.php file core/modules/settings_tray/src/Access/BlockPluginHasSettingsTrayFormAccessCheck.php
BlockPluginHasSettingsTrayFormAccessCheck::access function core/modules/settings_tray/src/Access/BlockPluginHasSettingsTrayFormAccessCheck.php Checks access for accessing a block's 'settings_tray' form.
BlockPluginHasSettingsTrayFormAccessCheck::accessBlockPlugin function core/modules/settings_tray/src/Access/BlockPluginHasSettingsTrayFormAccessCheck.php Checks access for accessing a block plugin's 'settings_tray' form.
BlockPluginHasSettingsTrayFormAccessCheckTest class core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php @coversDefaultClass \Drupal\settings_tray\Access\BlockPluginHasSettingsTrayFormAccessCheck[[api-linebreak]]
@group settings_tray
BlockPluginHasSettingsTrayFormAccessCheckTest.php file core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php
BlockPluginHasSettingsTrayFormAccessCheckTest::providerTestAccess function core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php Provides test data for ::testAccess().
BlockPluginHasSettingsTrayFormAccessCheckTest::testAccess function core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php @covers ::access[[api-linebreak]]
@covers ::accessBlockPlugin[[api-linebreak]]
@dataProvider providerTestAccess
BlockPluginId::transform function core/modules/block/src/Plugin/migrate/process/BlockPluginId.php Set the block plugin id.
BlockPluginInterface::blockForm function core/lib/Drupal/Core/Block/BlockPluginInterface.php Returns the configuration form elements specific to this block plugin.
BlockPluginTrait::blockForm function core/lib/Drupal/Core/Block/BlockPluginTrait.php
BlockPluginTrait::buildConfigurationForm function core/lib/Drupal/Core/Block/BlockPluginTrait.php 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/lib/Drupal/Core/Block/BlockPluginTrait.php Most block plugins should not override this method. To add submission
handling for a specific block type, override BlockBase::blockSubmit().
BlockPluginTrait::validateConfigurationForm function core/lib/Drupal/Core/Block/BlockPluginTrait.php Most block plugins should not override this method. To add validation
for a specific block type, override BlockBase::blockValidate().
BlockRegion::transform function core/modules/block/src/Plugin/migrate/process/BlockRegion.php Performs the associated process.
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.

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