Search for has

  1. Search 7.x for has
  2. Search 8.9.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
ContainerTest::testHasParameter function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::hasParameter() works properly.
ContentEntityBase::hasField function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::hasTranslation function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::hasTranslationChanges function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityDenormalizer::hasCacheableSupportsMethod function core/modules/jsonapi/src/Normalizer/ContentEntityDenormalizer.php
ContentEntityHasChangesTest class core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php Tests ContentEntityBase::hasTranslationChanges().
ContentEntityHasChangesTest.php file core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php
ContentEntityHasChangesTest::$bundle property core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php Bundle of entity.
ContentEntityHasChangesTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php Modules to enable.
ContentEntityHasChangesTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php
ContentEntityHasChangesTest::testHasTranslationChanges function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php Tests the correct functionality of the hasTranslationChanges() function.
ContentEntityNormalizer::hasCacheableSupportsMethod function core/modules/hal/src/Normalizer/ContentEntityNormalizer.php
ContentEntityNullStorage::has function core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php Determines if this entity already exists in storage.
ContentEntityNullStorage::hasData function core/lib/Drupal/Core/Entity/ContentEntityNullStorage.php Determines if the storage contains any data.
ContentEntityStorageBase::hasFieldValueChanged function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Checks whether the field values changed compared to the original entity.
ContentEntityType::hasRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityType.php Indicates if a given entity revision metadata key exists.
ContentEntityTypeInterface::hasRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php Indicates if a given entity revision metadata key exists.
ContentModeration::workflowHasData function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php Determines if the workflow is being has data associated with it.
ContentModeration::workflowStateHasData function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php Determines if the workflow state has data associated with it.
ContentTranslationHandler::hasAuthor function core/modules/content_translation/src/ContentTranslationHandler.php Checks whether the entity type supports author natively.
ContentTranslationHandler::hasChangedTime function core/modules/content_translation/src/ContentTranslationHandler.php Checks whether the entity type supports modification time natively.
ContentTranslationHandler::hasCreatedTime function core/modules/content_translation/src/ContentTranslationHandler.php Checks whether the entity type supports creation time natively.
ContentTranslationHandler::hasPublishedStatus function core/modules/content_translation/src/ContentTranslationHandler.php Checks whether the entity type supports published status natively.
ContentTranslationSynchronizedFieldsConstraintValidator::hasSynchronizedPropertyChanges function core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php Checks whether any synchronized property has changes.
Context::hasContextValue function core/lib/Drupal/Core/Plugin/Context/Context.php Returns whether the context has a value.
Context::hasContextValue function core/lib/Drupal/Component/Plugin/Context/Context.php Returns whether the context has a value.
ContextAwarePluginDefinitionInterface::hasContextDefinition function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php Checks if the plugin defines a particular context.
ContextAwarePluginDefinitionTrait::hasContextDefinition function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php Implements \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::hasContextDefinition().
ContextInterface::hasContextValue function core/lib/Drupal/Component/Plugin/Context/ContextInterface.php Returns whether the context has a value.
ContextTest::providerHasContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php Data provider for testHasContextValue.
ContextTest::testHasContextValue function core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php @covers ::hasContextValue
@dataProvider providerHasContextValue
ContextTypedDataTest::providerHasContextValue function core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php Data provider for testHasContextValue.
ContextTypedDataTest::testHasContextValue function core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php @covers ::hasContextValue
@dataProvider providerHasContextValue
Crypt::hashBase64 function core/lib/Drupal/Component/Utility/Crypt.php Calculates a base-64 encoded, URL-safe sha-256 hash.
CryptTest::providerTestHashBase64 function core/tests/Drupal/Tests/Component/Utility/CryptTest.php Provides data for self::testHashBase64().
CryptTest::testHashBase64 function core/tests/Drupal/Tests/Component/Utility/CryptTest.php Tests hash generation.
CsrfTokenGeneratorTest::testGetWithNoHashSalt function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests the exception thrown when no 'hash_salt' is provided in settings.
CssCollectionOptimizer::generateHash function core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php Generate a hash for a given group of CSS assets.
Data::$hasNextPage property core/modules/jsonapi/src/JsonApiResource/Data.php Holds a boolean indicating if there is a next page.
Data::hasNextPage function core/modules/jsonapi/src/JsonApiResource/Data.php Checks if there is a next page in the collection.
Data::setHasNextPage function core/modules/jsonapi/src/JsonApiResource/Data.php Sets the has next page flag.
DatabaseStorage::has function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Returns whether a given key exists in the store.
DatabaseStorageExpirable::has function core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php Returns whether a given key exists in the store.
DataNormalizer::hasCacheableSupportsMethod function core/modules/jsonapi/src/Normalizer/DataNormalizer.php
Date::hasValidGroupedValue function core/modules/views/src/Plugin/views/filter/Date.php Determines if the given grouped filter entry has a valid value.
DateTimeNormalizer::hasCacheableSupportsMethod function core/modules/serialization/src/Normalizer/DateTimeNormalizer.php
DateTimePlus::hasErrors function core/lib/Drupal/Component/Datetime/DateTimePlus.php Detects if there were errors in the processing of this date.
DefaultLazyPluginCollectionTest::testHas function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @covers ::has
DiffEngine::_line_hash function core/lib/Drupal/Component/Diff/Engine/DiffEngine.php Returns the whole line if it's small enough, or a hash otherwise.
DiscoveryInterface::hasDefinition function core/lib/Drupal/Component/Plugin/Discovery/DiscoveryInterface.php Indicates if a specific plugin definition exists.

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