Search for applies

  1. Search 7.x for applies
  2. Search 9.5.x for applies
  3. Search 8.9.x for applies
  4. Search 10.3.x for applies
  5. Other projects
Title Object type File name Summary
AccessCheckInterface::applies function core/lib/Drupal/Core/Access/AccessCheckInterface.php Declares whether the access check applies to a specific route or not.
AccessPolicyBase::applies function core/lib/Drupal/Core/Session/AccessPolicyBase.php Checks whether this access policy applies to a given scope.
AccessPolicyInterface::applies function core/lib/Drupal/Core/Session/AccessPolicyInterface.php Checks whether this access policy applies to a given scope.
AdminDemoNegotiator::applies function core/modules/block/src/Theme/AdminDemoNegotiator.php Whether this theme negotiator should be used to set the theme.
AdminNegotiator::applies function core/modules/user/src/Theme/AdminNegotiator.php Whether this theme negotiator should be used to set the theme.
AdminPathConfigEntityConverter::applies function core/lib/Drupal/Core/ParamConverter/AdminPathConfigEntityConverter.php Determines if the converter applies to a specific route and variable.
AdminPathConfigEntityConverter::applies function core/lib/Drupal/Core/ProxyClass/ParamConverter/AdminPathConfigEntityConverter.php Determines if the converter applies to a specific route and variable.
AjaxBasePageNegotiator::applies function core/lib/Drupal/Core/Theme/AjaxBasePageNegotiator.php Whether this theme negotiator should be used to set the theme.
AjaxBasePageNegotiatorTest::providerTestApplies function core/tests/Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.php
AjaxBasePageNegotiatorTest::testApplies function core/tests/Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.php @covers ::applies
@dataProvider providerTestApplies
AlwaysAddsAccessPolicy::applies function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Checks whether this access policy applies to a given scope.
AlwaysAltersAccessPolicy::applies function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Checks whether this access policy applies to a given scope.
Auth::applies function core/modules/locale/tests/modules/early_translation_test/src/Auth.php Checks whether suitable authentication credentials are on the request.
AuthenticationManager::applies function core/lib/Drupal/Core/Authentication/AuthenticationManager.php Checks whether suitable authentication credentials are on the request.
AuthenticationManager::appliesToRoutedRequest function core/lib/Drupal/Core/Authentication/AuthenticationManager.php Checks whether the authentication method is allowed on a given route.
AuthenticationProviderFilterInterface::appliesToRoutedRequest function core/lib/Drupal/Core/Authentication/AuthenticationProviderFilterInterface.php Checks whether the authentication method is allowed on a given route.
AuthenticationProviderInterface::applies function core/lib/Drupal/Core/Authentication/AuthenticationProviderInterface.php Checks whether suitable authentication credentials are on the request.
BarAccessPolicy::applies function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Checks whether this access policy applies to a given scope.
BarAlterAccessPolicy::applies function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Checks whether this access policy applies to a given scope.
BasicAuth::applies function core/modules/basic_auth/src/Authentication/Provider/BasicAuth.php Checks whether suitable authentication credentials are on the request.
BatchNegotiator::applies function core/modules/system/src/Theme/BatchNegotiator.php Whether this theme negotiator should be used to set the theme.
BatchNegotiatorTest::testApplies function core/tests/Drupal/KernelTests/Core/Batch/BatchNegotiatorTest.php Test that the negotiator applies to the batch route.
BazAccessPolicy::applies function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Checks whether this access policy applies to a given scope.
BookBreadcrumbBuilder::applies function core/modules/book/src/BookBreadcrumbBuilder.php Whether this breadcrumb builder should be used to build the breadcrumb.
BreadcrumbBuilderInterface::applies function core/lib/Drupal/Core/Breadcrumb/BreadcrumbBuilderInterface.php Whether this breadcrumb builder should be used to build the breadcrumb.
BreadcrumbManager::applies function core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php Whether this breadcrumb builder should be used to build the breadcrumb.
CheckProvider::applies function core/lib/Drupal/Core/Access/CheckProvider.php Determine which registered access checks apply to a route.
CommentBreadcrumbBuilder::applies function core/modules/comment/src/CommentBreadcrumbBuilder.php Whether this breadcrumb builder should be used to build the breadcrumb.
ContentModeration::appliesToEntityTypeAndBundle function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php Checks if the workflow applies to the supplied entity type and bundle.
ContentModerationInterface::appliesToEntityTypeAndBundle function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModerationInterface.php Checks if the workflow applies to the supplied entity type and bundle.
ContentModerationWorkflowTypeApiTest::testAppliesToEntityTypeAndBundle function core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php @covers ::appliesToEntityTypeAndBundle
@covers ::addEntityTypeAndBundle
@covers ::removeEntityTypeAndBundle
Cookie::applies function core/modules/user/src/Authentication/Provider/Cookie.php Checks whether suitable authentication credentials are on the request.
CsrfRequestHeaderAccessCheck::applies function core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php Declares whether the access check applies to a specific route or not.
CustomThemeNegotiator::applies function core/modules/system/tests/modules/theme_test/src/Theme/CustomThemeNegotiator.php Whether this theme negotiator should be used to set the theme.
DbUpdateNegotiator::applies function core/modules/system/src/Theme/DbUpdateNegotiator.php Whether this theme negotiator should be used to set the theme.
DefaultNegotiator::applies function core/lib/Drupal/Core/Theme/DefaultNegotiator.php Whether this theme negotiator should be used to set the theme.
EntityBundleRouteEnhancer::applies function core/lib/Drupal/Core/Entity/Enhancer/EntityBundleRouteEnhancer.php
EntityConverter::applies function core/lib/Drupal/Core/ParamConverter/EntityConverter.php Determines if the converter applies to a specific route and variable.
EntityConverterTest::providerTestApplies function core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php Provides test data for testApplies()
EntityConverterTest::testApplies function core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php Tests the applies() method.
EntityRevisionParamConverter::applies function core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php Determines if the converter applies to a specific route and variable.
EntityRevisionRouteEnhancer::applies function core/lib/Drupal/Core/Routing/Enhancer/EntityRevisionRouteEnhancer.php Returns whether the enhancer runs on the current route.
EntityRouteEnhancer::applies function core/lib/Drupal/Core/Entity/Enhancer/EntityRouteEnhancer.php Returns whether the enhancer runs on the current route.
EntityUuidConverter::applies function core/modules/jsonapi/src/ParamConverter/EntityUuidConverter.php Determines if the converter applies to a specific route and variable.
FileMediaFormatterBase::mimeTypeApplies function core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php Check if given MIME type applies to the media type of the formatter.
FooAccessPolicy::applies function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Checks whether this access policy applies to a given scope.
FormRouteEnhancer::applies function core/lib/Drupal/Core/Routing/Enhancer/FormRouteEnhancer.php Returns whether the enhancer runs on the current route.
ForumListingBreadcrumbBuilder::applies function core/modules/forum/src/Breadcrumb/ForumListingBreadcrumbBuilder.php Whether this breadcrumb builder should be used to build the breadcrumb.
ForumListingBreadcrumbBuilderTest::providerTestApplies function core/modules/forum/tests/src/Unit/Breadcrumb/ForumListingBreadcrumbBuilderTest.php Provides test data for testApplies().
ForumListingBreadcrumbBuilderTest::testApplies function core/modules/forum/tests/src/Unit/Breadcrumb/ForumListingBreadcrumbBuilderTest.php Tests ForumListingBreadcrumbBuilder::applies().

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