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. 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
ActionMethodAttributeTest class core/tests/Drupal/Tests/Core/Config/Action/ActionMethodAttributeTest.php Tests Drupal\Core\Config\Action\Attribute\ActionMethod.
ActionMethodAttributeTest.php file core/tests/Drupal/Tests/Core/Config/Action/ActionMethodAttributeTest.php
ActionMethodAttributeTest::testInvalidFunctionName function core/tests/Drupal/Tests/Core/Config/Action/ActionMethodAttributeTest.php Tests invalid function name.
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.
BrowserTestBase::getTestMethodCaller function core/tests/Drupal/Tests/BrowserTestBase.php Retrieves the current calling line in the class under test.
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.
ClassResolverConstraint::$method property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ClassResolverConstraint.php Method to call.
ClassResolverConstraintValidatorTest::testNonExistingMethod function core/tests/Drupal/KernelTests/Core/TypedData/ClassResolverConstraintValidatorTest.php Test missing method case.
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 Determines whether delivery of a cached page should be attempted.
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 Tests Drupal\Core\PageCache\RequestPolicy\CommandLineOrUnsafeMethod.
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.
CommentUriDeprecationTest::testCommentUriMethod function core/modules/comment/tests/src/Kernel/CommentUriDeprecationTest.php Tests the deprecation of comment_uri() method.
ConfigActionsTest::testEntityMethodActions function core/modules/block/tests/src/Kernel/ConfigActionsTest.php Tests the application of entity method actions on a block.
ConfigActionTest::testDuplicatePluralizedMethodNameException function core/tests/Drupal/KernelTests/Core/Config/Action/ConfigActionTest.php Tests exception thrown for duplicate pluralized method action definitions.
ConfigActionTest::testDuplicatePluralizedOtherMethodNameException function core/tests/Drupal/KernelTests/Core/Config/Action/ConfigActionTest.php Tests exception when creating a duplicate derivative.
ConfigActionTest::testEntityMethod function core/tests/Drupal/KernelTests/Core/Config/Action/ConfigActionTest.php Tests the behavior of the entity_method config action.
ConfigActionTest::testEntityMethodException function core/tests/Drupal/KernelTests/Core/Config/Action/ConfigActionTest.php Tests exception thrown when entity method action has an invalid argument.
ConfigActionTest::testPluralizedEntityMethod function core/tests/Drupal/KernelTests/Core/Config/Action/ConfigActionTest.php Tests pluralized method config actions on configuration entities.
ConfigActionTest::testPluralizedEntityMethodException function core/tests/Drupal/KernelTests/Core/Config/Action/ConfigActionTest.php Tests exception thrown when applying an action to multiple calls.

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