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
ResourceBase::requestMethods function core/modules/rest/src/Plugin/ResourceBase.php Provides predefined HTTP request methods.
ResourceGranularityUpdateTest::testMethodGranularityConvertedToResourceGranularity function core/modules/rest/tests/src/Functional/Update/ResourceGranularityUpdateTest.php Tests rest_post_update_simplify_resource_granularity().
ResourceInterface::availableMethods function core/modules/rest/src/Plugin/ResourceInterface.php Returns the available HTTP request methods on this plugin.
RestResourceConfig::getAuthenticationProvidersForMethodGranularity function core/modules/rest/src/Entity/RestResourceConfig.php Retrieves a list of supported authentication providers.
RestResourceConfig::getFormatsForMethodGranularity function core/modules/rest/src/Entity/RestResourceConfig.php Retrieves a list of supported response formats.
RestResourceConfig::getMethods function core/modules/rest/src/Entity/RestResourceConfig.php Retrieves a list of supported HTTP methods.
RestResourceConfig::getMethodsForMethodGranularity function core/modules/rest/src/Entity/RestResourceConfig.php Retrieves a list of supported HTTP methods for this resource.
RestResourceConfig::normalizeRestMethod function core/modules/rest/src/Entity/RestResourceConfig.php Normalizes the method.
RestResourceConfigInterface::getMethods function core/modules/rest/src/RestResourceConfigInterface.php Retrieves a list of supported HTTP methods.
RestResourceConfigInterface::METHOD_GRANULARITY constant core/modules/rest/src/RestResourceConfigInterface.php Granularity value for per-method configuration.
RestResourceConfigTest::testNormalizeRestMethod function core/modules/rest/tests/src/Unit/Entity/RestResourceConfigTest.php Asserts that rest methods are normalized to upper case.
RouteMethodSubscriber class core/lib/Drupal/Core/EventSubscriber/RouteMethodSubscriber.php Provides a default value for the HTTP method restriction on routes.
RouteMethodSubscriber.php file core/lib/Drupal/Core/EventSubscriber/RouteMethodSubscriber.php
RouteMethodSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/RouteMethodSubscriber.php
RouteMethodSubscriber::onRouteBuilding function core/lib/Drupal/Core/EventSubscriber/RouteMethodSubscriber.php Sets a default value of GET|POST for the _method route property.
route_http_method_subscriber service core/core.services.yml Drupal\Core\EventSubscriber\RouteMethodSubscriber
SimpleAnnotationReader::getMethodAnnotation function core/lib/Drupal/Component/Annotation/Doctrine/SimpleAnnotationReader.php
SimpleAnnotationReader::getMethodAnnotations function core/lib/Drupal/Component/Annotation/Doctrine/SimpleAnnotationReader.php
SomeClass::testMethod function core/modules/system/tests/modules/module_autoload_test/src/SomeClass.php
Sql::aggregationMethodDistinct function core/modules/views/src/Plugin/views/query/Sql.php
Sql::aggregationMethodSimple function core/modules/views/src/Plugin/views/query/Sql.php
TestBase::$httpAuthMethod property core/modules/simpletest/src/TestBase.php HTTP authentication method (specified as a CURLAUTH_* constant).
TestBaseTest::invokeProtectedMethod function core/modules/simpletest/tests/src/Unit/TestBaseTest.php Invoke methods that are protected or private.
TestController::testMethod function core/modules/system/tests/modules/csrf_test/src/Controller/TestController.php Just a test method for the test routes.
TestController::testMethod function core/modules/system/tests/modules/csrf_race_test/src/Controller/TestController.php Helper page to load jQuery in test.
TestInterface::testMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestLocalTaskController::methodWithoutUpcastNode function core/modules/content_moderation/tests/modules/content_moderation_test_local_task/src/Controller/TestLocalTaskController.php A method which does not hint the node parameter to avoid upcasting.
TestServiceComplexMethod class core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php
TestServiceComplexMethod class core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceComplexMethod::complexMethod function core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php
TestServiceComplexMethod::complexMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceMethodWithParameter class core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceMethodWithParameter::methodWithParameter function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceNoMethod class core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php
TestServiceNoMethod class core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceSimpleMethod class core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceSimpleMethod::method function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceWithInterface::testMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceWithProtectedMethods class core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceWithProtectedMethods::privateMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceWithProtectedMethods::protectedMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceWithProtectedMethods::testMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceWithPublicStaticMethod class core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceWithPublicStaticMethod::testMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TrustedMethods class core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
TrustedMethods::callback function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
TrustedMethods::trustedCallbacks function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php Lists the trusted callbacks provided by the implementing class.
TrustedMethods::unTrustedCallback function core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
TwigSandboxPolicy::$whitelisted_methods property core/lib/Drupal/Core/Template/TwigSandboxPolicy.php An array of whitelisted methods in the form of methodName => TRUE.
TwigSandboxPolicy::checkMethodAllowed function core/lib/Drupal/Core/Template/TwigSandboxPolicy.php

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