Search for has

  1. Search 7.x for has
  2. Search 9.5.x for has
  3. Search 10.3.x for has
  4. Search 11.x for has
  5. Other projects
Title Object type File name Summary
TaggingTest::testExtenderHasAllTags function core/tests/Drupal/KernelTests/Core/Database/TaggingTest.php Tests extended query tagging "has all of these tags" functionality.
TaggingTest::testExtenderHasAnyTag function core/tests/Drupal/KernelTests/Core/Database/TaggingTest.php Tests extended query tagging "has at least one of these tags" functionality.
TaggingTest::testExtenderHasTag function core/tests/Drupal/KernelTests/Core/Database/TaggingTest.php Confirms that an extended query has a tag added to it.
TaggingTest::testHasAllTags function core/tests/Drupal/KernelTests/Core/Database/TaggingTest.php Tests query tagging "has all of these tags" functionality.
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 If a handler has 'extra options' it will get a little settings widget and
another form called extra_options.
TestDiscoveryCacheContext::$hash property core/modules/simpletest/src/Cache/Context/TestDiscoveryCacheContext.php The hash of discovered test information.
TestDiscoveryCacheContext::hash function core/modules/simpletest/src/Cache/Context/TestDiscoveryCacheContext.php Hashes the given string.
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 Determines if a theme should be shown in the user interface.
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 Determines whether there is an active theme.
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 Asserts the subtrees hash on a fresh page GET is different from the hash
from the previous page GET.
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 the toolbar_modules_installed() and toolbar_modules_uninstalled() hook
implementations.
ToolbarAdminMenuTest::testUserRoleUpdateSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Exercises the toolbar_user_role_update() and toolbar_user_update() hook
implementations.
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().
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 Checks if the configuration schema with the given config name exists.
TypedConfigManagerInterface::hasConfigSchema function core/lib/Drupal/Core/Config/TypedConfigManagerInterface.php Checks if the configuration schema with the given config name exists.
UrlTest::hasAttribute function core/modules/system/tests/src/Functional/Common/UrlTest.php Checks for class existence in link.
User::hasPermission function core/modules/user/src/Entity/User.php Checks whether a user has a certain permission.
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 and new password hash.
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 Test that user password is re-hashed upon login after changing $count_log2.
UserSession::hasPermission function core/lib/Drupal/Core/Session/UserSession.php Checks whether a user has a certain permission.
UserSessionTest::providerTestHasPermission function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Provides test data for getHasPermission().
UserSessionTest::testHasPermission function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Tests the has permission method.
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.
ViewExecutable::hasUrl function core/modules/views/src/ViewExecutable.php Determines whether you can link to the view or a particular display.
ViewTestBase::helperButtonHasLabel function core/modules/views/src/Tests/ViewTestBase.php Asserts the existence of a button with a certain ID and label.
ViewTestBase::helperButtonHasLabel function core/modules/views/tests/src/Functional/ViewTestBase.php Asserts the existence of a button with a certain ID and label.
ViewUI::hasLinkTemplate function core/modules/views_ui/src/ViewUI.php Indicates if a link template exists for a given key.
ViewUI::hasTrustedData function core/modules/views_ui/src/ViewUI.php Gets whether on not the data is trusted.
WorkflowTest::testAddAndHasState function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::addState
@covers ::hasState
WorkflowTypeBase::hasState function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Determines if the workflow has a state with the provided ID.
WorkflowTypeBase::hasTransition function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Determines if a transition exists.

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