Search for setForm

  1. Search 7.x for setForm
  2. Search 9.5.x for setForm
  3. Search 8.9.x for setForm
  4. Search 11.x for setForm
  5. Other projects
Title Object type File name Summary
ContentEntityForm::setFormDisplay function core/lib/Drupal/Core/Entity/ContentEntityForm.php Sets the form display.
ContentEntityFormInterface::setFormDisplay function core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php Sets the form display.
DblogFilterForm::resetForm function core/modules/dblog/src/Form/DblogFilterForm.php Resets the filter form.
EntityType::setFormClass function core/lib/Drupal/Core/Entity/EntityType.php Sets a form class for a specific operation.
EntityTypeInterface::setFormClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Sets a form class for a specific operation.
ExposedFormCache::setForm function core/modules/views/src/ExposedFormCache.php Save the Views exposed form for later use.
ExposedFormPluginBase::resetForm function core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php Resets all the states of the exposed form.
FormState::setFormObject function core/lib/Drupal/Core/Form/FormState.php Sets the form object that is responsible for building this form.
FormState::setFormState function core/lib/Drupal/Core/Form/FormState.php Sets the value of the form state.
FormStateDecoratorBase::setFormObject function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets the form object that is responsible for building this form.
FormStateDecoratorBase::setFormState function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets the value of the form state.
FormStateDecoratorBaseTest::testSetFormObject function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setFormObject
FormStateDecoratorBaseTest::testSetFormState function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setFormState
FormStateInterface::setFormObject function core/lib/Drupal/Core/Form/FormStateInterface.php Sets the form object that is responsible for building this form.
FormStateInterface::setFormState function core/lib/Drupal/Core/Form/FormStateInterface.php Sets the value of the form state.
FormTestGroupFieldsetForm class core/modules/system/tests/modules/form_test/src/Form/FormTestGroupFieldsetForm.php Builds a simple form to test the #group property on #type 'fieldset'.
FormTestGroupFieldsetForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestGroupFieldsetForm.php
FormTestGroupFieldsetForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestGroupFieldsetForm.php
FormTestGroupFieldsetForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestGroupFieldsetForm.php
FormTestGroupFieldsetForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestGroupFieldsetForm.php
MenuLinkResetForm class core/modules/menu_ui/src/Form/MenuLinkResetForm.php Defines a confirmation form for resetting a single modified menu link.
MenuLinkResetForm.php file core/modules/menu_ui/src/Form/MenuLinkResetForm.php
MenuLinkResetForm::$link property core/modules/menu_ui/src/Form/MenuLinkResetForm.php The menu link.
MenuLinkResetForm::$menuLinkManager property core/modules/menu_ui/src/Form/MenuLinkResetForm.php The menu link manager.
MenuLinkResetForm::buildForm function core/modules/menu_ui/src/Form/MenuLinkResetForm.php
MenuLinkResetForm::create function core/modules/menu_ui/src/Form/MenuLinkResetForm.php
MenuLinkResetForm::getCancelUrl function core/modules/menu_ui/src/Form/MenuLinkResetForm.php
MenuLinkResetForm::getConfirmText function core/modules/menu_ui/src/Form/MenuLinkResetForm.php
MenuLinkResetForm::getDescription function core/modules/menu_ui/src/Form/MenuLinkResetForm.php
MenuLinkResetForm::getFormId function core/modules/menu_ui/src/Form/MenuLinkResetForm.php
MenuLinkResetForm::getQuestion function core/modules/menu_ui/src/Form/MenuLinkResetForm.php
MenuLinkResetForm::linkIsResettable function core/modules/menu_ui/src/Form/MenuLinkResetForm.php Checks access based on whether the link can be reset.
MenuLinkResetForm::submitForm function core/modules/menu_ui/src/Form/MenuLinkResetForm.php
MenuLinkResetForm::__construct function core/modules/menu_ui/src/Form/MenuLinkResetForm.php Constructs a MenuLinkResetForm object.
MessageForm::resetForm function core/modules/migrate/src/Form/MessageForm.php Resets the filter form.
NegotiationMiddlewareTest::testSetFormat function core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php @covers ::registerFormat
PathFilterForm::resetForm function core/modules/path/src/Form/PathFilterForm.php Resets the filter selections.
SetFormCommand class core/modules/views_ui/src/Ajax/SetFormCommand.php Provides an AJAX command for setting a form submit URL in modal forms.
SetFormCommand.php file core/modules/views_ui/src/Ajax/SetFormCommand.php
SetFormCommand::$url property core/modules/views_ui/src/Ajax/SetFormCommand.php The URL of the form.
SetFormCommand::render function core/modules/views_ui/src/Ajax/SetFormCommand.php
SetFormCommand::__construct function core/modules/views_ui/src/Ajax/SetFormCommand.php Constructs a SetFormCommand object.
ShortcutSetForm class core/modules/shortcut/src/ShortcutSetForm.php Form handler for the shortcut set entity edit forms.
ShortcutSetForm.php file core/modules/shortcut/src/ShortcutSetForm.php
ShortcutSetForm::form function core/modules/shortcut/src/ShortcutSetForm.php
ShortcutSetForm::save function core/modules/shortcut/src/ShortcutSetForm.php
Term::setFormat function core/modules/taxonomy/src/Entity/Term.php
TermInterface::setFormat function core/modules/taxonomy/src/TermInterface.php Sets the text format name for the term description.
TestFormWithPredefinedForm::setForm function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
TranslateFilterForm::resetForm function core/modules/locale/src/Form/TranslateFilterForm.php Provides a submit handler for the reset button.

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