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
MenuTreeStorageTest::testBasicMethods function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests the tree storage when no tree was built yet.
MessageEntityTest::testMessageMethods function core/modules/contact/tests/src/Kernel/MessageEntityTest.php Test some of the methods.
MethodFilter class core/lib/Drupal/Core/Routing/MethodFilter.php Filters routes based on the HTTP method.
MethodFilter.php file core/lib/Drupal/Core/Routing/MethodFilter.php
MethodFilter::filter function core/lib/Drupal/Core/Routing/MethodFilter.php
MethodFilterTest class core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @coversDefaultClass \Drupal\Core\Routing\MethodFilter
@group Routing
MethodFilterTest.php file core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php
MethodFilterTest::testCollectionOrder function core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php Ensures that the incoming and outgoing collections have the same order.
MethodFilterTest::testFilteredMethods function core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @covers ::filter
MethodFilterTest::testMethodNotAllowedException function core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @covers ::filter
MethodFilterTest::testMethodNotAllowedExceptionWithMultipleRoutes function core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @covers ::filter
MethodFilterTest::testWithAllowedMethod function core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @covers ::filter
MethodFilterTest::testWithAllowedMethodAndMultipleMatchingRoutes function core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @covers ::filter
MethodRequires class core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php
MethodRequires::externalCommandIsAvailable function core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php Determine if an external command is available.
MethodRequires::testRequiresAvailable function core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php @requires externalCommand available_command
MethodRequires::testRequiresUnavailable function core/tests/Drupal/BuildTests/Framework/Tests/ExternalCommandRequirementTest.php @requires externalCommand unavailable_command
method_filter service core/core.services.yml Drupal\Core\Routing\MethodFilter
method_filter.jsonapi service core/modules/jsonapi/jsonapi.services.yml Drupal\jsonapi\Routing\ReadOnlyModeMethodFilter
MockService::getFactoryMethod function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Provides a factory method to get a service.
ModuleHandlerTest::testCachedGetImplementationsMissingMethod function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Test getImplementations.
OptimizedPhpArrayDumper::dumpMethodCalls function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Dumps method calls to a PHP array.
PagerKernelTest::testSetPagerMethods function core/modules/views/tests/src/Kernel/Plugin/PagerKernelTest.php Tests pager-related setter methods on ViewExecutable.
PathPluginBase::overrideAppliesPathAndMethod function core/modules/views/src/Plugin/views/display/PathPluginBase.php Determines whether a override for the path and method should happen.
PathValidatorTest::testIsValidWithMethodNotAllowed function core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php @covers ::isValid
@covers ::getPathAttributes
plugin.manager.language_negotiation_method service core/modules/language/language.services.yml Drupal\language\LanguageNegotiationMethodManager
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::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 Test 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
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.
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.

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