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
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
AssertHelperTestClass::testMethod function core/tests/fixtures/AssertHelperTestClass.php
BasicControllerClass::exampleControllerMethod function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
BasicControllerClass::exampleControllerMethodWithArgument function core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php
BooleanNormalizer::hasCacheableSupportsMethod function core/modules/serialization/tests/modules/test_datatype_boolean_emoji_normalizer/src/Normalizer/BooleanNormalizer.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
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 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 @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
ConfigDependencies::onDependencyRemovalForMethodGranularity function core/modules/rest/src/Entity/ConfigDependencies.php Informs the entity that entities it depends on will be deleted.
ConfigDependenciesTest::testOnDependencyRemovalRemoveFormatForMethodGranularity function core/modules/hal/tests/src/Kernel/rest/Entity/ConfigDependenciesTest.php @covers ::onDependencyRemoval
@covers ::onDependencyRemovalForMethodGranularity
ConfigEntityDenormalizer::hasCacheableSupportsMethod function core/modules/jsonapi/src/Normalizer/ConfigEntityDenormalizer.php
ConfigEntityResourceTestBase::SKIP_METHODS constant core/modules/rest/tests/src/Functional/EntityResource/ConfigEntityResourceTestBase.php A list of test methods to skip.
ConfigEntityResourceTestBase::SKIP_METHODS constant core/modules/jsonapi/tests/src/Functional/ConfigEntityResourceTestBase.php A list of test methods to skip.
ConfigEntityUnitTest::testStorageMethods function core/tests/Drupal/KernelTests/Core/Config/ConfigEntityUnitTest.php Tests storage methods.
ConfigurableLanguageManager::$negotiatedMethods property core/modules/language/src/ConfigurableLanguageManager.php An array of language negotiation method IDs keyed by language type.
ConfigurableLanguageManager::getNegotiatedLanguageMethod function core/modules/language/src/ConfigurableLanguageManager.php Gets the negotiated language method ID.
ConfigurableLanguageManagerInterface::getNegotiatedLanguageMethod function core/modules/language/src/ConfigurableLanguageManagerInterface.php Gets the negotiated language method ID.
ContactMessageResource::availableMethods function core/modules/contact/src/Plugin/rest/resource/ContactMessageResource.php Returns the available HTTP request methods on this plugin.
ContentEntityDenormalizer::hasCacheableSupportsMethod function core/modules/jsonapi/src/Normalizer/ContentEntityDenormalizer.php
ContentEntityFieldMethodInvocationOrderTest class core/tests/Drupal/KernelTests/Core/Entity/ContentEntityFieldMethodInvocationOrderTest.php Tests correct field method invocation order.
ContentEntityFieldMethodInvocationOrderTest.php file core/tests/Drupal/KernelTests/Core/Entity/ContentEntityFieldMethodInvocationOrderTest.php
ContentEntityFieldMethodInvocationOrderTest::$entityTestFieldMethodsStorage property core/tests/Drupal/KernelTests/Core/Entity/ContentEntityFieldMethodInvocationOrderTest.php The EntityTest entity type storage.
ContentEntityFieldMethodInvocationOrderTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/ContentEntityFieldMethodInvocationOrderTest.php Modules to enable.

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