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
ResponsiveImageStyleInterface::hasImageStyleMappings function core/modules/responsive_image/src/ResponsiveImageStyleInterface.php Checks if there is at least one mapping defined.
RestResourceConfigValidationTest::$hasLabel property core/modules/rest/tests/src/Kernel/Entity/RestResourceConfigValidationTest.php
ReverseContainer::generateServiceIdHash function core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php Generates an identifier for a service based on the object class and hash.
Role::hasPermission function core/modules/user/src/Entity/Role.php Checks if the role has a permission.
RoleInterface::hasPermission function core/modules/user/src/RoleInterface.php Checks if the role has a permission.
RouteProviderLazyBuilder::hasRebuilt function core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php Determines if the router has been rebuilt.
Routes::hasNonInternalFileTargetResourceTypes function core/modules/jsonapi/src/Routing/Routes.php Determines if an array of resource types lists non-internal "file" ones.
Routes::hasNonInternalTargetResourceTypes function core/modules/jsonapi/src/Routing/Routes.php Determines if an array of resource types has any non-internal ones.
Row::getHash function core/modules/migrate/src/Row.php Returns the hash for the source values..
Row::hasDestinationProperty function core/modules/migrate/src/Row.php Tests if destination property exists.
Row::hasSourceProperty function core/modules/migrate/src/Row.php Determines whether a source has a property.
Row::rehash function core/modules/migrate/src/Row.php Recalculates the hash for the row.
RowTest::$testHash property core/modules/migrate/tests/src/Unit/RowTest.php The test hash.
RowTest::$testHashMod property core/modules/migrate/tests/src/Unit/RowTest.php The test hash after changing title value to 'new title'.
RowTest::testHashing function core/modules/migrate/tests/src/Unit/RowTest.php Tests hashing.
ScaffoldFileCollection::checkListHasItemWithContent function composer/Plugin/Scaffold/Operations/ScaffoldFileCollection.php Scans through a list of scaffold files and determines if any has contents.
ScaffoldFileInfo::hasChanged function composer/Plugin/Scaffold/ScaffoldFileInfo.php Returns TRUE if the target does not exist or has changed.
ScaffoldOptions::hasAllowedPackages function composer/Plugin/Scaffold/ScaffoldOptions.php Determines whether any allowed packages were defined.
ScaffoldOptions::hasFileMapping function composer/Plugin/Scaffold/ScaffoldOptions.php Determines if there are file mappings.
ScaffoldOptions::hasGitIgnore function composer/Plugin/Scaffold/ScaffoldOptions.php Determines if there is defined a value for the 'gitignore' option.
ScaffoldOptions::hasLocation function composer/Plugin/Scaffold/ScaffoldOptions.php Determines whether a given named location is defined.
ScaffoldOptions::hasOptions function composer/Plugin/Scaffold/ScaffoldOptions.php Determines if the provided 'extras' section has scaffold options.
Schema::hashBase64 function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Calculates a base-64 encoded PostgreSQL-safe sha-256 hash.
SectionListTrait::hasBlankSection function core/modules/layout_builder/src/SectionListTrait.php Indicates if this section list contains a blank section.
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 Determines if a given query has all specified tags.
Select::hasAnyTag function core/lib/Drupal/Core/Database/Query/Select.php Determines if a given query has any specified tag.
Select::hasTag function core/lib/Drupal/Core/Database/Query/Select.php Determines if a given query has a given tag.
SelectExtender::hasAllTags function core/lib/Drupal/Core/Database/Query/SelectExtender.php Determines if a given query has all specified tags.
SelectExtender::hasAnyTag function core/lib/Drupal/Core/Database/Query/SelectExtender.php Determines if a given query has any specified tag.
SelectExtender::hasTag function core/lib/Drupal/Core/Database/Query/SelectExtender.php Determines if a given query has a given tag.
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 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
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.

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