Search for setMethod

  1. Search 7.x for setMethod
  2. Search 9.5.x for setMethod
  3. Search 8.9.x for setMethod
  4. Search 11.x for setMethod
  5. Other projects
Title Object type File name Summary
FormState::setMethod function core/lib/Drupal/Core/Form/FormState.php Sets the HTTP method to use for the form's submission.
FormStateDecoratorBase::setMethod function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets the HTTP method to use for the form's submission.
FormStateDecoratorBaseTest::testSetMethod function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setMethod
FormStateInterface::setMethod function core/lib/Drupal/Core/Form/FormStateInterface.php Sets the HTTP method to use for the form's submission.
Hook::setMethod function core/lib/Drupal/Core/Hook/Attribute/Hook.php Set the method the hook should apply to.

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