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. Search main for method
  6. Other projects
Title Object type File name Summary
PrivateMethodUnitTestTrait::getMethod function core/modules/ckeditor5/tests/src/Traits/PrivateMethodUnitTestTrait.php Gets a protected/private method to test.
ProcessField::callMethodOnFieldPlugin function core/modules/field/src/Plugin/migrate/process/ProcessField.php Instantiate a field plugin and call a method on it.
ProxyBuilder::buildConstructorMethod function core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php Builds the constructor used to inject the actual service ID.
ProxyBuilder::buildLazyLoadItselfMethod function core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php Generates the string for the method which loads the actual service.
ProxyBuilder::buildMethod function core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php Generates the string representation of a single method: signature, body.
ProxyBuilder::buildMethodBody function core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php Builds the body of a wrapped method.
ProxyBuilderTest::testBuildComplexMethod function core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php Tests build complex method.
ProxyBuilderTest::testBuildComplexMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @legacy-covers ::buildMethod
@legacy-covers ::buildParameter
@legacy-covers ::buildMethodBody
ProxyBuilderTest::testBuildMethodWithParameter function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @legacy-covers ::buildMethod
@legacy-covers ::buildParameter
@legacy-covers ::buildMethodBody
ProxyBuilderTest::testBuildNoMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php Tests the basic methods like the constructor and the lazyLoadItself method.
ProxyBuilderTest::testBuildServiceMethodReturnsVoid function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @legacy-covers ::buildMethodBody
ProxyBuilderTest::testBuildSimpleMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @legacy-covers ::buildMethod
@legacy-covers ::buildMethodBody
ProxyBuilderTest::testBuildWithProtectedAndPrivateMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @legacy-covers ::buildMethod
@legacy-covers ::buildParameter
@legacy-covers ::buildMethodBody
ProxyBuilderTest::testBuildWithPublicStaticMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @legacy-covers ::buildMethod
@legacy-covers ::buildParameter
@legacy-covers ::buildMethodBody
QueryTest::queryMethodsTests function core/modules/views/tests/src/Kernel/Plugin/QueryTest.php Tests methods provided by the QueryPluginBase.
ReadOnlyModeMethodFilter class core/modules/jsonapi/src/Routing/ReadOnlyModeMethodFilter.php Filters routes based on the HTTP method and JSON:API's read-only mode.
ReadOnlyModeMethodFilter.php file core/modules/jsonapi/src/Routing/ReadOnlyModeMethodFilter.php
ReadOnlyModeMethodFilter::$inner property core/modules/jsonapi/src/Routing/ReadOnlyModeMethodFilter.php The decorated method filter.
ReadOnlyModeMethodFilter::$readOnlyModeIsEnabled property core/modules/jsonapi/src/Routing/ReadOnlyModeMethodFilter.php Whether JSON:API's read-only mode is enabled.
ReadOnlyModeMethodFilter::filter function core/modules/jsonapi/src/Routing/ReadOnlyModeMethodFilter.php Filters the route collection against a request.
ReadOnlyModeMethodFilter::__construct function core/modules/jsonapi/src/Routing/ReadOnlyModeMethodFilter.php ReadOnlyModeMethodFilter constructor.
ReadOnlyStorageTest::readMethodsProvider function core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php Provide the methods that work transparently.
ReadOnlyStorageTest::writeMethodsProvider function core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php Provide the methods that throw an exception.
RearrangeFilterTest::testStaticMethods function core/modules/views_ui/tests/src/Unit/Form/Ajax/RearrangeFilterTest.php Tests static methods.
RecipeConfigStorageWrapperTest::testUnsupportedMethods function core/tests/Drupal/Tests/Core/Recipe/RecipeConfigStorageWrapperTest.php Test methods that are unsupported.
RenderCache::isCacheableForCurrentHttpMethod function core/lib/Drupal/Core/Render/RenderCache.php Checks if a set of cache tags are cacheable for the current HTTP method.
RequestHandler::getNormalizedRequestMethod function core/modules/rest/src/RequestHandler.php Gets the normalized HTTP request method of the matched route.
RequestSanitizerTest::testRequestMethodOverride function core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php Tests unacceptable destinations are removed from GET requests.
ResourceBase::availableMethods function core/modules/rest/src/Plugin/ResourceBase.php Returns the available HTTP request methods on this plugin.
ResourceBase::requestMethods function core/modules/rest/src/Plugin/ResourceBase.php Provides predefined HTTP request methods.
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 Gets a method annotation.
SimpleAnnotationReader::getMethodAnnotations function core/lib/Drupal/Component/Annotation/Doctrine/SimpleAnnotationReader.php Gets the annotations applied to a method.
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 Builds a SQL expression using DISTINCT.
Sql::aggregationMethodSimple function core/modules/views/src/Plugin/views/query/Sql.php Builds a simple SQL expression.
StaticReflectionClass::getMethod function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php

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