Search for method

  1. Search 7.x for method
  2. Search 9.5.x for method
  3. Search 10.3.x for method
  4. Search 11.x for method
  5. Other projects
Title Object type File name Summary
ContentEntityFieldMethodInvocationOrderTest::testFieldMethodInvocationOrder function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityFieldMethodInvocationOrderTest.php Tests correct field method invocation order.
ContentEntityStorageBase::invokeFieldMethod function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Invokes a method on the Field objects within an entity.
DeprecatedController::deprecatedMethod function core/modules/system/tests/modules/deprecation_test/src/DeprecatedController.php Controller callback.
DocParser::MethodCall function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php MethodCall ::= ["(" [Values] ")"]
DocParserTest::testTypicalMethodDocBlock function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php @group debug
EntityConverterTest::testDeprecatedLanguageManagerMethod function core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php Tests that retrieving the language manager triggers a deprecation error.
EntityResource::availableMethods function core/modules/rest/src/Plugin/rest/resource/EntityResource.php Returns the available HTTP request methods on this plugin.
EntityTestFieldMethods class core/modules/system/tests/modules/entity_test/src/Entity/EntityTestFieldMethods.php Defines the test entity class.
EntityTestFieldMethods.php file core/modules/system/tests/modules/entity_test/src/Entity/EntityTestFieldMethods.php
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.
ExternalCommandRequirementsTrait::checkMethodCommandRequirements function core/tests/Drupal/BuildTests/Framework/ExternalCommandRequirementsTrait.php Checks whether required external commands are available per method.
ExternalCommandRequirementTest::testMethodRequiresAvailable function core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php @covers ::checkMethodCommandRequirements
ExternalCommandRequirementTest::testMethodRequiresUnavailable function core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php @covers ::checkMethodCommandRequirements
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.
FieldMigration::PLUGIN_METHOD constant core/modules/migrate_drupal/src/Plugin/migrate/FieldMigration.php Defines which configuration option has the migration processing function.
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.
InstallTranslationFilePatternTest::$filePatternMethod property core/modules/system/tests/src/Kernel/Installer/InstallTranslationFilePatternTest.php

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