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
SectionListTrait::hasSection function core/modules/layout_builder/src/SectionListTrait.php Indicates if there is a section at the specified delta.
Select::hasAllTags function core/lib/Drupal/Core/Database/Query/Select.php
Select::hasAnyTag function core/lib/Drupal/Core/Database/Query/Select.php
Select::hasTag function core/lib/Drupal/Core/Database/Query/Select.php
SelectExtender::hasAllTags function core/lib/Drupal/Core/Database/Query/SelectExtender.php
SelectExtender::hasAnyTag function core/lib/Drupal/Core/Database/Query/SelectExtender.php
SelectExtender::hasTag function core/lib/Drupal/Core/Database/Query/SelectExtender.php
SerializedColumnNormalizerTrait::dataHasStringForSerializeColumn function core/modules/serialization/src/Normalizer/SerializedColumnNormalizerTrait.php Checks if the data contains string value for serialize column.
ServiceIdHashTrait trait core/lib/Drupal/Component/DependencyInjection/ServiceIdHashTrait.php A trait for service id hashing implementations.
ServiceIdHashTrait.php file core/lib/Drupal/Component/DependencyInjection/ServiceIdHashTrait.php
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
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
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
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
StatementInterface::fetchAssoc function core/lib/Drupal/Core/Database/StatementInterface.php Fetches the next row and returns it as an associative array.
StatementPrefetch::fetchAssoc function core/lib/Drupal/Core/Database/StatementPrefetch.php
StatementPrefetchIterator::fetchAssoc function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php
StatementWrapper::fetchAssoc function core/lib/Drupal/Core/Database/StatementWrapper.php
StatementWrapperIterator::fetchAssoc function core/lib/Drupal/Core/Database/StatementWrapperIterator.php
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
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.

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