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
ServiceIdHashTrait::generateServiceIdHash function core/lib/Drupal/Component/DependencyInjection/ServiceIdHashTrait.php Implements \Drupal\Component\DependencyInjection\ContainerInterface::generateServiceIdHash()
ServiceIdHashTrait::getServiceIdMappings function core/lib/Drupal/Component/DependencyInjection/ServiceIdHashTrait.php Implements \Drupal\Component\DependencyInjection\ContainerInterface::getServiceIdMappings()
SessionConfiguration::hasSession function core/lib/Drupal/Core/Session/SessionConfiguration.php Determines whether a session identifier is on the request.
SessionConfigurationInterface::hasSession function core/lib/Drupal/Core/Session/SessionConfigurationInterface.php Determines whether a session identifier is on the request.
SessionTestController::hasSessionBagFlag function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Prints a message if the flag in the session bag is set.
Settings::getHashSalt function core/lib/Drupal/Core/Site/Settings.php Gets a salt useful for hardening against SQL injection.
SettingsTest::providerTestGetHashSaltEmpty function core/tests/Drupal/Tests/Core/Site/SettingsTest.php Data provider for testGetHashSaltEmpty.
SettingsTest::testGetHashSalt function core/tests/Drupal/Tests/Core/Site/SettingsTest.php Tests Settings::getHashSalt().
SettingsTest::testGetHashSaltEmpty function core/tests/Drupal/Tests/Core/Site/SettingsTest.php Tests Settings::getHashSalt() with no hash salt value.
SimpleConfigValidationTest::testDefaultConfigHashValidation function core/tests/Drupal/KernelTests/Core/Config/SimpleConfigValidationTest.php Tests the validation of the default configuration hash.
SourceEditingRedundantTagsConstraintValidator::tagHasAttributeRestrictions function core/modules/ckeditor5/src/Plugin/Validation/Constraint/SourceEditingRedundantTagsConstraintValidator.php Inspects whether the given tag has attribute restrictions.
Sql::$hasAggregate property core/modules/views/src/Plugin/views/query/Sql.php
Sql::getSourceIdsHash function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php Retrieves the hash of the source identifier values.
Sql::SOURCE_IDS_HASH constant core/modules/migrate/src/Plugin/migrate/id_map/Sql.php Column name of hashed source id values.
SqlContentEntityStorage::has function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Determines if this entity already exists in storage.
SqlContentEntityStorageSchema::hasColumnChanges function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Compares schemas to check for changes in the column definitions.
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
StagedDatabaseUpdateValidator::hasStagedUpdates function core/modules/package_manager/tests/modules/package_manager_test_validation/src/StagedDatabaseUpdateValidator.php
StagedDBUpdateValidator::hasStagedUpdates function core/modules/package_manager/src/Validator/StagedDBUpdateValidator.php Determines if a staged extension has changed update functions.
StatementBase::fetchAssoc function core/lib/Drupal/Core/Database/Statement/StatementBase.php Fetches the next row and returns it as an associative array.
StatementInterface::fetchAssoc function core/lib/Drupal/Core/Database/StatementInterface.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::hasAttribute function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.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 Checks whether the string has a given location.
StringInterface::hasLocation function core/modules/locale/src/StringInterface.php Checks whether the string has a given location.
StubEntityStorageBase::has function core/tests/Drupal/Tests/Core/Entity/StubEntityStorageBase.php Determines if this entity already exists in storage.
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 Determines if the handler has extra options.
TestPluginWithForm::hasFormClass function core/tests/Drupal/Tests/Core/Theme/Icon/IconPackExtractorFormTest.php Gets whether the plugin has a form class for the given operation.
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.

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