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
LanguageNegotiationSessionTest::testSessionLanguageNegotiationMethod function core/modules/language/tests/src/Functional/LanguageNegotiationSessionTest.php Tests language negotiation via query/session parameters.
LanguageNegotiationTest::METHOD_ID constant core/modules/language/tests/language_test/src/Plugin/LanguageNegotiation/LanguageNegotiationTest.php The language negotiation method id.
LanguageNegotiationTestTs::METHOD_ID constant core/modules/language/tests/language_test/src/Plugin/LanguageNegotiation/LanguageNegotiationTestTs.php The language negotiation method id.
LanguageNegotiationUI::METHOD_ID constant core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUI.php The language negotiation method id.
LanguageNegotiationUrl::METHOD_ID constant core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUrl.php The language negotiation method id.
LanguageNegotiationUrlFallback::METHOD_ID constant core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUrlFallback.php The language negotiation method id.
LanguageNegotiationUser::METHOD_ID constant core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUser.php The language negotiation method id.
LanguageNegotiationUserAdmin::METHOD_ID constant core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php The language negotiation method id.
LanguageNegotiator::$methods property core/modules/language/src/LanguageNegotiator.php Local cache for language negotiation method instances.
LanguageNegotiator::getNegotiationMethodInstance function core/modules/language/src/LanguageNegotiator.php Returns an instance of the specified language negotiation method.
LanguageNegotiator::getNegotiationMethods function core/modules/language/src/LanguageNegotiator.php Returns the language negotiation methods enabled for a language type.
LanguageNegotiator::getPrimaryNegotiationMethod function core/modules/language/src/LanguageNegotiator.php Returns the ID of the language type's primary language negotiation method.
LanguageNegotiator::isNegotiationMethodEnabled function core/modules/language/src/LanguageNegotiator.php Checks whether a language negotiation method is enabled for a language type.
LanguageNegotiatorInterface::getNegotiationMethodInstance function core/modules/language/src/LanguageNegotiatorInterface.php Returns an instance of the specified language negotiation method.
LanguageNegotiatorInterface::getNegotiationMethods function core/modules/language/src/LanguageNegotiatorInterface.php Returns the language negotiation methods enabled for a language type.
LanguageNegotiatorInterface::getPrimaryNegotiationMethod function core/modules/language/src/LanguageNegotiatorInterface.php Returns the ID of the language type's primary language negotiation method.
LanguageNegotiatorInterface::isNegotiationMethodEnabled function core/modules/language/src/LanguageNegotiatorInterface.php Checks whether a language negotiation method is enabled for a language type.
LanguageNegotiatorInterface::METHOD_ID constant core/modules/language/src/LanguageNegotiatorInterface.php The language negotiation method id for the language negotiator itself.
LayoutEntityDisplayNormalizer::hasCacheableSupportsMethod function core/modules/layout_builder/src/Normalizer/LayoutEntityDisplayNormalizer.php
LinkCollectionNormalizer::hasCacheableSupportsMethod function core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php
ListNormalizer::hasCacheableSupportsMethod function core/modules/serialization/src/Normalizer/ListNormalizer.php
MarkupNormalizer::hasCacheableSupportsMethod function core/modules/serialization/src/Normalizer/MarkupNormalizer.php
MediaLibraryStateTest::testMethods function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Tests the media library state methods.
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 Tests 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 Filters the route collection against a request.
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 Tests getImplementations.
NormalizerBase::hasCacheableSupportsMethod function core/modules/serialization/src/Normalizer/NormalizerBase.php
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 an 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

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