Search for method

  1. Search 7.x for method
  2. Search 8.9.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
PrimitiveDataNormalizer::hasCacheableSupportsMethod function core/modules/serialization/src/Normalizer/PrimitiveDataNormalizer.php
PrivateMethodUnitTestTrait trait core/modules/ckeditor5/tests/src/Traits/PrivateMethodUnitTestTrait.php Provides methods to test protected/private methods in unit tests.
PrivateMethodUnitTestTrait.php file core/modules/ckeditor5/tests/src/Traits/PrivateMethodUnitTestTrait.php
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 @covers ::buildMethod
@covers ::buildParameter
@covers ::buildMethodBody
ProxyBuilderTest::testBuildComplexMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @covers ::buildMethod
@covers ::buildParameter
@covers ::buildMethodBody
ProxyBuilderTest::testBuildMethodWithParameter function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @covers ::buildMethod
@covers ::buildParameter
@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 @covers ::buildMethodBody
ProxyBuilderTest::testBuildSimpleMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @covers ::buildMethod
@covers ::buildMethodBody
ProxyBuilderTest::testBuildWithProtectedAndPrivateMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @covers ::buildMethod
@covers ::buildParameter
@covers ::buildMethodBody
ProxyBuilderTest::testBuildWithPublicStaticMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @covers ::buildMethod
@covers ::buildParameter
@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.
RelationshipNormalizer::hasCacheableSupportsMethod function core/modules/jsonapi/src/Normalizer/RelationshipNormalizer.php
RequestHandler::getNormalizedRequestMethod function core/modules/rest/src/RequestHandler.php Gets the normalized HTTP request method of the matched route.
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.
ResourceIdentifierNormalizer::hasCacheableSupportsMethod function core/modules/jsonapi/src/Normalizer/ResourceIdentifierNormalizer.php
ResourceInterface::availableMethods function core/modules/rest/src/Plugin/ResourceInterface.php Returns the available HTTP request methods on this plugin.
ResourceObjectNormalizer::hasCacheableSupportsMethod function core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php
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

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