Search for setForm

  1. Search 7.x for setForm
  2. Search 8.9.x for setForm
  3. Search 10.3.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 Form constructor.
FormTestGroupFieldsetForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestGroupFieldsetForm.php Returns a unique string identifying the form.
FormTestGroupFieldsetForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestGroupFieldsetForm.php Form submission handler.
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 Form constructor.
MenuLinkResetForm::create function core/modules/menu_ui/src/Form/MenuLinkResetForm.php Instantiates a new instance of this class.
MenuLinkResetForm::getCancelUrl function core/modules/menu_ui/src/Form/MenuLinkResetForm.php Returns the route to go to if the user cancels the action.
MenuLinkResetForm::getConfirmText function core/modules/menu_ui/src/Form/MenuLinkResetForm.php Returns a caption for the button that confirms the action.
MenuLinkResetForm::getDescription function core/modules/menu_ui/src/Form/MenuLinkResetForm.php Returns additional text to display as a description.
MenuLinkResetForm::getFormId function core/modules/menu_ui/src/Form/MenuLinkResetForm.php Returns a unique string identifying the form.
MenuLinkResetForm::getQuestion function core/modules/menu_ui/src/Form/MenuLinkResetForm.php Returns the question to ask the user.
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 Form submission handler.
MenuLinkResetForm::__construct function core/modules/menu_ui/src/Form/MenuLinkResetForm.php Constructs a MenuLinkResetForm object.
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 Return an array to be run through json_encode and sent to the client.
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 Gets the actual form array to be built.
ShortcutSetForm::save function core/modules/shortcut/src/ShortcutSetForm.php Form submission handler for the 'save' action.
Term::setFormat function core/modules/taxonomy/src/Entity/Term.php Sets the text format name for the term description.
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.
UserPasswordResetForm class core/modules/user/src/Form/UserPasswordResetForm.php Form controller for the user password forms.

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