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 11.x for method
  6. Other projects
Title Object type File name Summary
SameModuleChild::testMethod function core/tests/fixtures/TestTools/drupal_debug_classloader_test_classes.php
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
StaticReflectionClass::getMethods function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php
StaticReflectionClass::hasMethod function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php
StaticReflectionParser::$methodAttributes property core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php Method attributes
StaticReflectionParser::getMethodAttributes function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php
SystemTestController::getMethod function core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php Controller to return the HTTP method for testing.
Target::TARGET_METHOD constant core/lib/Drupal/Component/Annotation/Doctrine/Annotation/Target.php
test-methods-with-metadata.php file core/tests/PHPStan/fixtures/test-methods-with-metadata.php
TestAttributes::attributeMethod function core/modules/system/tests/modules/router_test_directory/src/Controller/TestAttributes.php #[Route('/test_method_attribute', name: 'router_test.method_attribute', requirements: [
'_access' => 'TRUE',
], alias: 'router_test.alias_test')]
#[Route('/test_method_attribute-other-path', name: 'router_test.method_attribute_other', requirements:…
TestClassMethodMetadata class core/tests/PHPStan/Rules/TestClassMethodMetadata.php Validates method-level PHPUnit test metadata in test classes.
TestClassMethodMetadata.php file core/tests/PHPStan/Rules/TestClassMethodMetadata.php
TestClassMethodMetadata::$annotationTargets property core/tests/PHPStan/Rules/TestClassMethodMetadata.php PHPUnit metadata annotations.
TestClassMethodMetadata::getNodeType function core/tests/PHPStan/Rules/TestClassMethodMetadata.php
TestClassMethodMetadata::processNode function core/tests/PHPStan/Rules/TestClassMethodMetadata.php
TestClassMethodMetadata::__construct function core/tests/PHPStan/Rules/TestClassMethodMetadata.php
TestClassMethodMetadataTest class core/tests/PHPStan/tests/TestClassMethodMetadataTest.php Tests TestClassMethodMetadata rule.
TestClassMethodMetadataTest.php file core/tests/PHPStan/tests/TestClassMethodMetadataTest.php
TestClassMethodMetadataTest::getRule function core/tests/PHPStan/tests/TestClassMethodMetadataTest.php
TestClassMethodMetadataTest::testRule function core/tests/PHPStan/tests/TestClassMethodMetadataTest.php
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.
TestHookAfterClassMethod class core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookAfterClassMethod.php This class contains hook implementations.
TestHookAfterClassMethod class core/modules/system/tests/modules/HookCollector/bbb_hook_collector_test/src/Hook/TestHookAfterClassMethod.php This class contains hook implementations.
TestHookAfterClassMethod.php file core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookAfterClassMethod.php
TestHookAfterClassMethod.php file core/modules/system/tests/modules/HookCollector/bbb_hook_collector_test/src/Hook/TestHookAfterClassMethod.php
TestHookAfterClassMethod::hookAfterClassMethod function core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookAfterClassMethod.php This pair tests OrderAfter with a passed class and method.
TestHookAfterClassMethod::hookAfterClassMethod function core/modules/system/tests/modules/HookCollector/bbb_hook_collector_test/src/Hook/TestHookAfterClassMethod.php This pair tests OrderAfter with a passed class and method.
TestHookClass::someMethod function core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php Example method.
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 Call used to test a service with a complex method.
TestServiceComplexMethod class core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php Test service with complex method.
TestServiceComplexMethod::complexMethod function core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php
TestServiceComplexMethod::complexMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceMethodReturnsVoid class core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php Test service with void returning method.
TestServiceMethodReturnsVoid::methodReturnsVoid function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceMethodWithParameter class core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php Test service with method without parameter.
TestServiceMethodWithParameter::methodWithParameter function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
TestServiceNoMethod class core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php Class used to test a service that has no methods.
TestServiceNoMethod class core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php Test service without methods.
TestServiceSimpleMethod class core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php Test service with simple method.
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 Test service with protected methods.

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