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 10.3.x for has
  5. Other projects
Title Object type File name Summary
SqlContentEntityStorageSchema::hasNullFieldPropertyData function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Checks whether a field property has NULL values.
SqlContentEntityStorageSchema::hasSharedTableNameChanges function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Detects whether any table name got renamed in an entity type update.
SqlContentEntityStorageSchema::hasSharedTableStructureChange function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Detects whether there is a change in the shared table structure.
SqlContentEntityStorageTest::testHasData function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php @covers ::hasData
StatementInterface::fetchAssoc function core/lib/Drupal/Core/Database/StatementInterface.php Fetches the next row and returns it as an associative array.
StatementPrefetchIterator::fetchAssoc function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Fetches the next row and returns it as an associative array.
StatementWrapperIterator::fetchAssoc function core/lib/Drupal/Core/Database/StatementWrapperIterator.php Fetches the next row and returns it as an associative array.
StaticReflectionClass::hasClassAttribute function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php Determines if the class has the provided class attribute.
StaticReflectionClass::hasConstant function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php
StaticReflectionClass::hasMethod function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php
StaticReflectionClass::hasProperty function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php
StaticReflectionParser::hasClassAttribute function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php Determines if the class has the provided class attribute.
StorageComparer::hasChanges function core/lib/Drupal/Core/Config/StorageComparer.php Checks if there are any operations with changes to process.
StorageComparerInterface::hasChanges function core/lib/Drupal/Core/Config/StorageComparerInterface.php Checks if there are any operations with changes to process.
StringBase::hasLocation function core/modules/locale/src/StringBase.php
StringInterface::hasLocation function core/modules/locale/src/StringInterface.php Checks whether the string has a given location.
SystemAdminMenuBlockAccessCheck::hasAccessToChildMenuItems function core/modules/system/src/Access/SystemAdminMenuBlockAccessCheck.php Check that the given route has access to child routes.
SystemMenuOffCanvasForm::hasMenuOverrides function core/modules/system/src/Form/SystemMenuOffCanvasForm.php Determines if the menu has configuration overrides.
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 for "has at least one of these tags".
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
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 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 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
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 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/Kernel/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.

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