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.
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.
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[[api-linebreak]]
FormStateDecoratorBaseTest::testSetFormState function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setFormState[[api-linebreak]]
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.
NegotiationMiddlewareTest::testSetFormat function core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php @covers ::registerFormat[[api-linebreak]]
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.
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
UserPasswordResetForm class core/modules/user/src/Form/UserPasswordResetForm.php Form controller for the user password forms.
UserPasswordResetForm.php file core/modules/user/src/Form/UserPasswordResetForm.php
UserPasswordResetForm::buildForm function core/modules/user/src/Form/UserPasswordResetForm.php
UserPasswordResetForm::getFormId function core/modules/user/src/Form/UserPasswordResetForm.php Returns a unique string identifying the form.
UserPasswordResetForm::submitForm function core/modules/user/src/Form/UserPasswordResetForm.php Form submission handler.
VocabularyResetForm class core/modules/taxonomy/src/Form/VocabularyResetForm.php Provides confirmation form for resetting a vocabulary to alphabetical order.
VocabularyResetForm.php file core/modules/taxonomy/src/Form/VocabularyResetForm.php
VocabularyResetForm::$termStorage property core/modules/taxonomy/src/Form/VocabularyResetForm.php The term storage.
VocabularyResetForm::create function core/modules/taxonomy/src/Form/VocabularyResetForm.php Instantiates a new instance of this class.
VocabularyResetForm::getCancelUrl function core/modules/taxonomy/src/Form/VocabularyResetForm.php Returns the route to go to if the user cancels the action.
VocabularyResetForm::getConfirmText function core/modules/taxonomy/src/Form/VocabularyResetForm.php Returns a caption for the button that confirms the action.
VocabularyResetForm::getDescription function core/modules/taxonomy/src/Form/VocabularyResetForm.php Returns additional text to display as a description.
VocabularyResetForm::getFormId function core/modules/taxonomy/src/Form/VocabularyResetForm.php Returns a unique string identifying the form.
VocabularyResetForm::getQuestion function core/modules/taxonomy/src/Form/VocabularyResetForm.php Returns the question to ask the user.
VocabularyResetForm::submitForm function core/modules/taxonomy/src/Form/VocabularyResetForm.php This is the default entity object builder function. It is called before any
other submit handler to build the new entity object to be used by the
following submit handlers. At this point of the form workflow the entity is
validated and the form state…
VocabularyResetForm::__construct function core/modules/taxonomy/src/Form/VocabularyResetForm.php Constructs a new VocabularyResetForm object.

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