Search for method

  1. Search 7.x for method
  2. Search 9.5.x for method
  3. Search 8.9.x for method
  4. Search 10.3.x for method
  5. Other projects
Title Object type File name Summary
EntityTestFieldMethods::baseFieldDefinitions function core/modules/system/tests/modules/entity_test/src/Entity/EntityTestFieldMethods.php
EntityTranslationTest::doTestEntityLanguageMethods function core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php Executes the entity language method tests for the given entity type.
EntityTranslationTest::testEntityLanguageMethods function core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php Tests language related methods of the Entity class.
EntityTypeTest::testConstraintMethods function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php Tests the constraint methods.
ExtendedDiscoveryInterface::otherMethod function core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php
ExtendingNonInstalledClass::testMethod function core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/custom_annotation/ExtendingNonInstalledClass.php
FieldFieldTest::testGetValueMethod function core/modules/views/tests/src/Kernel/Handler/FieldFieldTest.php Tests \Drupal\views\Plugin\views\field\EntityField::getValue.
FieldItemList::delegateMethod function core/lib/Drupal/Core/Field/FieldItemList.php Calls a method on each FieldItem.
FileTransferTest::testFileTransferMagicMethods function core/modules/system/tests/src/Unit/FileTransfer/FileTransferTest.php
FormState::$method property core/lib/Drupal/Core/Form/FormState.php The HTTP form method to use for finding the input for this form.
FormState::$requestMethod property core/lib/Drupal/Core/Form/FormState.php The HTTP method used by the request building or processing this form.
FormState::isMethodType function core/lib/Drupal/Core/Form/FormState.php Returns the HTTP form method.
FormState::isRequestMethodSafe function core/lib/Drupal/Core/Form/FormState.php Checks whether the request method is a "safe" HTTP method.
FormState::setMethod function core/lib/Drupal/Core/Form/FormState.php Sets the HTTP method to use for the form's submission.
FormState::setRequestMethod function core/lib/Drupal/Core/Form/FormState.php Sets the HTTP method used by the request that is building the form.
FormStateDecoratorBase::isMethodType function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Returns the HTTP form method.
FormStateDecoratorBase::setMethod function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets the HTTP method to use for the form's submission.
FormStateDecoratorBase::setRequestMethod function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets the HTTP method used by the request that is building the form.
FormStateDecoratorBaseTest::providerIsMethodType function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Provides data to self::testIsMethodType().
FormStateDecoratorBaseTest::providerSetRequestMethod function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Provides data to self::testSetMethod().
FormStateDecoratorBaseTest::testIsMethodType function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::isMethodType
FormStateDecoratorBaseTest::testSetMethod function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setMethod
FormStateDecoratorBaseTest::testSetRequestMethod function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setRequestMethod
FormStateInterface::isMethodType function core/lib/Drupal/Core/Form/FormStateInterface.php Returns the HTTP form method.
FormStateInterface::setMethod function core/lib/Drupal/Core/Form/FormStateInterface.php Sets the HTTP method to use for the form's submission.
FormStateInterface::setRequestMethod function core/lib/Drupal/Core/Form/FormStateInterface.php Sets the HTTP method used by the request that is building the form.
FormStateTest::providerTestIsMethodType function core/tests/Drupal/Tests/Core/Form/FormStateTest.php Provides test data for testIsMethodType().
FormStateTest::testIsMethodType function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::isMethodType
@covers ::setMethod
FormStateTest::testPrepareCallbackInValidMethod function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::prepareCallback
FormStateTest::testPrepareCallbackValidMethod function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::prepareCallback
GetTestMethodCallerExtendsTest class core/tests/Drupal/FunctionalTests/GetTestMethodCallerExtendsTest.php Test for BrowserTestBase::getTestMethodCaller() in child classes.
GetTestMethodCallerExtendsTest.php file core/tests/Drupal/FunctionalTests/GetTestMethodCallerExtendsTest.php
GetTestMethodCallerExtendsTest::$defaultTheme property core/tests/Drupal/FunctionalTests/GetTestMethodCallerExtendsTest.php The theme to install as the default for testing.
GetTestMethodCallerExtendsTest::testGetTestMethodCallerChildClass function core/tests/Drupal/FunctionalTests/GetTestMethodCallerExtendsTest.php A test method that is not present in the parent class.
GetTestMethodCallerTest class core/tests/Drupal/FunctionalTests/GetTestMethodCallerTest.php Explicit test for BrowserTestBase::getTestMethodCaller().
GetTestMethodCallerTest.php file core/tests/Drupal/FunctionalTests/GetTestMethodCallerTest.php
GetTestMethodCallerTest::$defaultTheme property core/tests/Drupal/FunctionalTests/GetTestMethodCallerTest.php The theme to install as the default for testing.
GetTestMethodCallerTest::testGetTestMethodCaller function core/tests/Drupal/FunctionalTests/GetTestMethodCallerTest.php Tests BrowserTestBase::getTestMethodCaller().
hook_user_cancel_methods_alter function core/modules/user/user.api.php Modify account cancellation methods.
HTMLRestrictions::WILDCARD_ELEMENT_METHODS constant core/modules/ckeditor5/src/HTMLRestrictions.php Wildcard types, and the methods that return tags the wildcard represents.
InstallTranslationFilePatternTest::$filePatternMethod property core/modules/system/tests/src/Kernel/Installer/InstallTranslationFilePatternTest.php
InvalidDecoratedMethod class core/lib/Drupal/Component/Plugin/Exception/InvalidDecoratedMethod.php Thrown when a decorator's _call() method uses a method that does not exist.
InvalidDecoratedMethod.php file core/lib/Drupal/Component/Plugin/Exception/InvalidDecoratedMethod.php
InvokeCommand::$method property core/lib/Drupal/Core/Ajax/InvokeCommand.php A jQuery method to invoke.
JsonApiRegressionTest::testNonCacheableMethods function core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php Tests that caching isn't happening for non-cacheable methods.
jsonapi_test_non_cacheable_methods.info.yml file core/modules/jsonapi/tests/modules/jsonapi_test_non_cacheable_methods/jsonapi_test_non_cacheable_methods.info.yml core/modules/jsonapi/tests/modules/jsonapi_test_non_cacheable_methods/jsonapi_test_non_cacheable_methods.info.yml
jsonapi_test_non_cacheable_methods.module file core/modules/jsonapi/tests/modules/jsonapi_test_non_cacheable_methods/jsonapi_test_non_cacheable_methods.module Contains hook implementations for testing the JSON:API module.
jsonapi_test_non_cacheable_methods_entity_predelete function core/modules/jsonapi/tests/modules/jsonapi_test_non_cacheable_methods/jsonapi_test_non_cacheable_methods.module Implements hook_entity_predelete().
jsonapi_test_non_cacheable_methods_entity_presave function core/modules/jsonapi/tests/modules/jsonapi_test_non_cacheable_methods/jsonapi_test_non_cacheable_methods.module Implements hook_entity_presave().
KernelMissingDependentModuleMethodTest class core/tests/fixtures/KernelMissingDependentModuleMethodTest.php A fixture test class with requires annotation.

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