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 11.x for method
  5. Other projects
Title Object type File name Summary
ActionMethod class core/lib/Drupal/Core/Config/Action/Attribute/ActionMethod.php @internal
This API is experimental.
ActionMethod.php file core/lib/Drupal/Core/Config/Action/Attribute/ActionMethod.php
ActionMethod::__construct function core/lib/Drupal/Core/Config/Action/Attribute/ActionMethod.php
AjaxTestController::httpMethods function core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php Provides an Ajax link used with different HTTP methods.
AjaxTestController::httpMethodsDialog function core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php Provides a modal dialog to test links with different HTTP methods.
AnnotationTargetPropertyMethod class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetPropertyMethod.php Plugin annotation

@Target({ "METHOD", "PROPERTY" })
AnnotationTargetPropertyMethod.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetPropertyMethod.php
AnnotationTargetPropertyMethod::$data property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetPropertyMethod.php
AnnotationTargetPropertyMethod::$name property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetPropertyMethod.php
AnnotationTargetPropertyMethod::$target property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetPropertyMethod.php
AttributeBridgeDecoratorTest::testOtherMethod function core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php Tests that the decorator of other methods works.
BasicControllerClass::exampleControllerMethod function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
BasicControllerClass::exampleControllerMethodWithArgument function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
BrowserHtmlDebugTrait::getTestMethodCaller function core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php Retrieves the current calling line in the class under test.
BrowserMissingDependentModuleMethodTest class core/tests/fixtures/BrowserMissingDependentModuleMethodTest.php A fixture test class with requires annotation.
BrowserMissingDependentModuleMethodTest.php file core/tests/fixtures/BrowserMissingDependentModuleMethodTest.php
BrowserMissingDependentModuleMethodTest::publicCheckRequirements function core/tests/fixtures/BrowserMissingDependentModuleMethodTest.php Public access for checkRequirements() to avoid reflection.
BrowserMissingDependentModuleMethodTest::testRequiresModule function core/tests/fixtures/BrowserMissingDependentModuleMethodTest.php This method should be skipped since it requires a module that is not found.
BrowserTestBase::getTestMethodCaller function core/tests/Drupal/Tests/BrowserTestBase.php Retrieves the current calling line in the class under test.
BrowserTestBaseTest::testMethodRequiresModule function core/tests/Drupal/KernelTests/Core/Test/BrowserTestBaseTest.php Tests that a test method is skipped when it requires a module not present.
CacheableMethodNotAllowedHttpException class core/lib/Drupal/Core/Http/Exception/CacheableMethodNotAllowedHttpException.php A cacheable MethodNotAllowedHttpException.
CacheableMethodNotAllowedHttpException.php file core/lib/Drupal/Core/Http/Exception/CacheableMethodNotAllowedHttpException.php
CacheableMethodNotAllowedHttpException::__construct function core/lib/Drupal/Core/Http/Exception/CacheableMethodNotAllowedHttpException.php
CallableResolverTest::method function core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php A test method that returns "foo".
CallableResolverTest::staticMethod function core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php A test static method that returns "foo".
CheckpointStorageTest::readMethodsProvider function core/tests/Drupal/Tests/Core/Config/Checkpoint/CheckpointStorageTest.php Provide the methods that work transparently.
CheckpointStorageTest::writeMethodsProvider function core/tests/Drupal/Tests/Core/Config/Checkpoint/CheckpointStorageTest.php Provide the methods that throw an exception.
CheckProvider::$checkMethods property core/lib/Drupal/Core/Access/CheckProvider.php Array of access check method names keyed by service ID.
ClassWithInvalidAnnotationTargetAtMethod class core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php Plugin annotation
@AnnotationTargetClass("Some data");
ClassWithInvalidAnnotationTargetAtMethod.php file core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php
ClassWithInvalidAnnotationTargetAtMethod::functionName function core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php Plugin annotation
@AnnotationTargetClass("functionName");
CommandLineOrUnsafeMethod class core/lib/Drupal/Core/PageCache/RequestPolicy/CommandLineOrUnsafeMethod.php Reject when running from the command line or when HTTP method is not safe.
CommandLineOrUnsafeMethod.php file core/lib/Drupal/Core/PageCache/RequestPolicy/CommandLineOrUnsafeMethod.php
CommandLineOrUnsafeMethod::check function core/lib/Drupal/Core/PageCache/RequestPolicy/CommandLineOrUnsafeMethod.php
CommandLineOrUnsafeMethod::isCli function core/lib/Drupal/Core/PageCache/RequestPolicy/CommandLineOrUnsafeMethod.php Indicates whether this is a CLI request.
CommandLineOrUnsafeMethodTest class core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php @coversDefaultClass \Drupal\Core\PageCache\RequestPolicy\CommandLineOrUnsafeMethod
@group PageCache
CommandLineOrUnsafeMethodTest.php file core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php
CommandLineOrUnsafeMethodTest::$policy property core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php The request policy under test.
CommandLineOrUnsafeMethodTest::providerTestHttpMethod function core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php Provides test data and expected results for the HTTP method test.
CommandLineOrUnsafeMethodTest::setUp function core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php
CommandLineOrUnsafeMethodTest::testHttpMethod function core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php Asserts that check() returns DENY for unsafe HTTP methods.
CommandLineOrUnsafeMethodTest::testIsCli function core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php Asserts that check() returns DENY if running from the command line.
ComplexDataNormalizer::hasCacheableSupportsMethod function core/modules/serialization/src/Normalizer/ComplexDataNormalizer.php
ConfigActionTest::testDuplicatePluralizedMethodNameException function core/tests/Drupal/KernelTests/Core/Config/Action/ConfigActionTest.php
ConfigActionTest::testDuplicatePluralizedOtherMethodNameException function core/tests/Drupal/KernelTests/Core/Config/Action/ConfigActionTest.php
ConfigActionTest::testEntityMethod function core/tests/Drupal/KernelTests/Core/Config/Action/ConfigActionTest.php
ConfigActionTest::testEntityMethodException function core/tests/Drupal/KernelTests/Core/Config/Action/ConfigActionTest.php
ConfigActionTest::testPluralizedEntityMethod function core/tests/Drupal/KernelTests/Core/Config/Action/ConfigActionTest.php
ConfigActionTest::testPluralizedEntityMethodException function core/tests/Drupal/KernelTests/Core/Config/Action/ConfigActionTest.php
ConfigDependencies::onDependencyRemovalForMethodGranularity function core/modules/rest/src/Entity/ConfigDependencies.php Informs the entity that entities it depends on will be deleted.

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