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
Container::hasParameter function core/lib/Drupal/Component/DependencyInjection/Container.php
ContainerAwareEventDispatcher::hasListeners function core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php
ContainerAwareEventDispatcherTest::testHasListenersIsLazy function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testHasListenersWhenAddedCallbackListenerIsRemoved function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerAwareEventDispatcherTest::testHasListenersWithoutEventsReturnsFalseAfterHasListenersWithEventHasBeenCalled function core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php
ContainerTest::testHas function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::has() works properly.
ContainerTest::testHasForAliasedService function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::has() for aliased services works properly.
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
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.
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.
ContentLanguageSettingsValidationTest::$hasLabel property core/modules/language/tests/src/Kernel/ContentLanguageSettingsValidationTest.php Whether a config entity of this type has a label.
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.
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.
Date::hasValidGroupedValue function core/modules/views/src/Plugin/views/filter/Date.php Determines if the given grouped filter entry has a valid value.
DateTimePlus::hasErrors function core/lib/Drupal/Component/Datetime/DateTimePlus.php Detects if there were errors in the processing of this date.

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