Search for has

  1. Search 7.x for has
  2. Search 9.5.x for has
  3. Search 8.9.x for has
  4. Search 11.x for has
  5. Other projects
Title Object type File name Summary
TaggingTest::testHasAnyTag function core/tests/Drupal/KernelTests/Core/Database/TaggingTest.php Tests query tagging "has at least one of these tags" functionality.
TaggingTest::testHasTag function core/tests/Drupal/KernelTests/Core/Database/TaggingTest.php Confirms that a query has a tag added to it.
Tasks::hasPdoDriver function core/lib/Drupal/Core/Database/Install/Tasks.php Ensure the PDO driver is supported by the version of PHP in use.
TaxonomyIndexTid::hasExtraOptions function core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php Determines if the handler has extra options.
TestSessionBag::hasFlag function core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php Returns TRUE if the test flag is set.
ThemeHandler::hasUi function core/lib/Drupal/Core/Extension/ThemeHandler.php
ThemeHandlerInterface::hasUi function core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php Determines if a theme should be shown in the user interface.
ThemeManager::hasActiveTheme function core/lib/Drupal/Core/Theme/ThemeManager.php
ThemeManagerInterface::hasActiveTheme function core/lib/Drupal/Core/Theme/ThemeManagerInterface.php Determines whether there is an active theme.
ThemeRegistry::has function core/lib/Drupal/Core/Utility/ThemeRegistry.php Returns whether data exists for this key.
ToolbarAdminMenuTest::$hash property core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php The current admin menu subtrees hash for adminUser.
ToolbarAdminMenuTest::assertDifferentHash function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Checks the subtree hash of the current page with that of the previous page.
ToolbarAdminMenuTest::getSubtreesHash function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Get the hash value from the admin menu subtrees route path.
ToolbarAdminMenuTest::testLocaleTranslationSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests that toolbar cache is cleared when string translations are made.
ToolbarAdminMenuTest::testMenuLinkUpdateSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests toolbar cache tags implementation.
ToolbarAdminMenuTest::testModuleStatusChangeSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests Toolbar's responses to installing and uninstalling modules.
ToolbarAdminMenuTest::testUserRoleUpdateSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests Toolbar's responses to user data updates.
Tour::hasMatchingRoute function core/modules/tour/src/Entity/Tour.php Whether the tour matches a given set of route parameters.
TourInterface::hasMatchingRoute function core/modules/tour/src/TourInterface.php Whether the tour matches a given set of route parameters.
TourTest::testHasMatchingRoute function core/modules/tour/tests/src/Unit/Entity/TourTest.php Tests \Drupal\tour\Entity\Tour::hasMatchingRoute().
TransactionManagerBase::has function core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php Checks if a named Drupal transaction is active.
TransactionManagerInterface::has function core/lib/Drupal/Core/Database/Transaction/TransactionManagerInterface.php Checks if a named Drupal transaction is active.
TranslatableInterface::hasTranslation function core/lib/Drupal/Core/TypedData/TranslatableInterface.php Checks there is a translation for the given language code.
TranslatableInterface::hasTranslationChanges function core/lib/Drupal/Core/Entity/TranslatableInterface.php Determines if the current translation of the entity has unsaved changes.
TypedConfigManager::hasConfigSchema function core/lib/Drupal/Core/Config/TypedConfigManager.php
TypedConfigManagerInterface::hasConfigSchema function core/lib/Drupal/Core/Config/TypedConfigManagerInterface.php Checks if the configuration schema with the given config name exists.
TypedDataNormalizer::hasCacheableSupportsMethod function core/modules/serialization/src/Normalizer/TypedDataNormalizer.php
UrlTest::hasAttribute function core/modules/system/tests/src/Kernel/Common/UrlTest.php Checks for class existence in link.
User::hasPermission function core/modules/user/src/Entity/User.php
User::hasRole function core/modules/user/src/Entity/User.php Whether a user has a certain role.
UserAuthTest::testAuthenticateWithCorrectPasswordAndNewPasswordHash function core/modules/user/tests/src/Unit/UserAuthTest.php Tests the authenticate method with a correct password & new password hash.
UserFloodEvent::hasIp function core/modules/user/src/Event/UserFloodEvent.php Is the user flood event associated with an IP?
UserFloodEvent::hasUid function core/modules/user/src/Event/UserFloodEvent.php Is the user flood event associated with a uid?
UserInterface::hasRole function core/modules/user/src/UserInterface.php Whether a user has a certain role.
UserLoginTest::testPasswordRehashOnLogin function core/modules/user/tests/src/Functional/UserLoginTest.php Tests user password is re-hashed upon login after changing $count_log2.
UserPassRehashTest class core/modules/user/tests/src/Kernel/UserPassRehashTest.php Tests user_pass_rehash().
UserPassRehashTest.php file core/modules/user/tests/src/Kernel/UserPassRehashTest.php
UserPassRehashTest::$modules property core/modules/user/tests/src/Kernel/UserPassRehashTest.php Modules to install.
UserPassRehashTest::testUniqueHashNoPasswordValue function core/modules/user/tests/src/Kernel/UserPassRehashTest.php Tests uniqueness of hashes when no password is set.
UserPasswordResetTest::testResetFormHasAutocompleteAttribute function core/modules/user/tests/src/Functional/UserPasswordResetTest.php Test the autocomplete attribute is present.
UserSession::hasPermission function core/lib/Drupal/Core/Session/UserSession.php
UserSession::hasRole function core/lib/Drupal/Core/Session/UserSession.php Whether a user has a certain role.
UserSessionTest::testHasPermission function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Tests the has permission method.
UserSessionTest::testHasPermissionLegacy function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Tests deprecation when permission is not a string.
UserSessionTest::testHasRole function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Tests the hasRole method.
user_custom_pass_hash_params_test.info.yml file core/modules/user/tests/modules/user_custom_pass_hash_params_test/user_custom_pass_hash_params_test.info.yml core/modules/user/tests/modules/user_custom_pass_hash_params_test/user_custom_pass_hash_params_test.info.yml
user_custom_pass_hash_params_test.services.yml file core/modules/user/tests/modules/user_custom_pass_hash_params_test/user_custom_pass_hash_params_test.services.yml core/modules/user/tests/modules/user_custom_pass_hash_params_test/user_custom_pass_hash_params_test.services.yml
user_pass_rehash function core/modules/user/user.module Creates a unique hash value for use in time-dependent per-user URLs.
user_permissions_hash_generator service core/core.services.yml Drupal\Core\Session\PermissionsHashGenerator
ViewExecutable::hasFormElements function core/modules/views/src/ViewExecutable.php Determines if this view has form elements.

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