Search for has

  1. Search 7.x for has
  2. Search 9.5.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
FormStateValuesTrait::hasValue function core/lib/Drupal/Core/Form/FormStateValuesTrait.php Implements \Drupal\Core\Form\FormStateInterface::hasValue()
FormStateValuesTraitTest::providerHasValue function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php Provides data to self::testHasValue().
FormStateValuesTraitTest::testHasValue function core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php @covers ::hasValue
ForumUninstallValidator::hasForumNodes function core/modules/forum/src/ForumUninstallValidator.php Determines if there are any forum nodes or not.
ForumUninstallValidator::hasTermsForVocabulary function core/modules/forum/src/ForumUninstallValidator.php Determines if there are any taxonomy terms for a specified vocabulary.
ForumUninstallValidatorTest::testValidateHasForumNodes function core/modules/forum/tests/src/Unit/ForumUninstallValidatorTest.php @covers ::validate
ForumUninstallValidatorTest::testValidateHasTermsForVocabularyAccess function core/modules/forum/tests/src/Unit/ForumUninstallValidatorTest.php @covers ::validate
ForumUninstallValidatorTest::testValidateHasTermsForVocabularyNoAccess function core/modules/forum/tests/src/Unit/ForumUninstallValidatorTest.php @covers ::validate
ForumUninstallValidatorTest::testValidateHasTermsForVocabularyWithNodesAccess function core/modules/forum/tests/src/Unit/ForumUninstallValidatorTest.php @covers ::validate
ForumUninstallValidatorTest::testValidateHasTermsForVocabularyWithNodesNoAccess function core/modules/forum/tests/src/Unit/ForumUninstallValidatorTest.php @covers ::validate
HandlerBase::hasExtraOptions function core/modules/views/src/Plugin/views/HandlerBase.php If a handler has 'extra options' it will get a little settings widget and
another form called extra_options.
HelpPageTestController::hasHelp function core/modules/help/tests/modules/help_page_test/src/HelpPageTestController.php Provides a route with help.
IFrameUrlHelper::getHash function core/modules/media/src/IFrameUrlHelper.php Hashes an oEmbed resource URL.
ImageStyle::getHashSalt function core/modules/image/src/Entity/ImageStyle.php Gets a salt useful for hardening against SQL injection.
JsCollectionOptimizer::generateHash function core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php Generate a hash for a given group of JavaScript assets.
JsonApiDocumentTopLevelNormalizer::getLinkHash function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php Hashes an omitted link.
KeyValueContentEntityStorage::hasStoredTranslations function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php
KeyValueEntityStorage::has function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php Determines if this entity already exists in storage.
KeyValueEntityStorage::hasData function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php Determines if the storage contains any data.
KeyValueStoreInterface::has function core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php Returns whether a given key exists in the store.
LanguageNegotiationContentEntity::$hasLowerLanguageNegotiationWeightResult property core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php Static cache for the language negotiation order check.
LanguageNegotiationContentEntity::hasLowerLanguageNegotiationWeight function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php Determines if content entity language negotiator has higher priority.
LayoutBuilderEntityViewDisplayForm::hasOverrides function core/modules/layout_builder/src/Form/LayoutBuilderEntityViewDisplayForm.php Determines if the defaults have any overrides.
LayoutTempstoreRepository::has function core/modules/layout_builder/src/LayoutTempstoreRepository.php Checks for the existence of a tempstore version of a section storage.
LayoutTempstoreRepositoryInterface::has function core/modules/layout_builder/src/LayoutTempstoreRepositoryInterface.php Checks for the existence of a tempstore version of a section storage.
LazyPluginCollection::has function core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Determines if a plugin instance exists.
LegacyAliasStorageTest::testPathHasMatchingAlias function core/tests/Drupal/KernelTests/Core/Path/LegacyAliasStorageTest.php @covers ::pathHasMatchingAlias
@expectedDeprecation \Drupal\Core\Path\AliasStorage is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use the "path_alias.repository" service instead, or the entity storage handler for the…
LinkCollection::hasLinkWithKey function core/modules/jsonapi/src/JsonApiResource/LinkCollection.php Whether a link with the given key exists.
LinkCollectionNormalizer::$hashSalt property core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php A random string to use when hashing links.
LinkCollectionNormalizer::hashByHref function core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php Hashes a link by its href.
LocaleConfigManager::hasTranslation function core/modules/locale/src/LocaleConfigManager.php Checks whether a language has configuration translation.
LocaleConfigManagerTest::testHasTranslation function core/modules/locale/tests/src/Kernel/LocaleConfigManagerTest.php Tests hasTranslation().
Media::hasSourceFieldChanged function core/modules/media/src/Entity/Media.php Determines if the source field value has changed.
MediaEmbedFilterTestBase::assertHasAttributes function core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php Assert that the SimpleXMLElement object has the given attributes.
MediaLibraryState::getHash function core/modules/media_library/src/MediaLibraryState.php Get the hash for the state object.
MediaLibraryState::hasSlotsAvailable function core/modules/media_library/src/MediaLibraryState.php Determines if additional media items can be selected.
MediaLibraryState::isValidHash function core/modules/media_library/src/MediaLibraryState.php Validate a hash for the state object.
MediaLibraryStateTest::testHashUnaffectedByMediaTypeOrder function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Test that hash is unaffected by allowed media type order.
MediaLibraryStateTest::testHashUnaffectedByOpenerParamOrder function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Test that hash is unaffected by opener parameter order.
MemoryStorage::has function core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php Returns whether a given key exists in the store.
MenuLinkManager::hasDefinition function core/lib/Drupal/Core/Menu/MenuLinkManager.php
MenuLinkTreeElement::$hasChildren property core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php Whether this link has any children at all.
ModerationInformation::hasPendingRevision function core/modules/content_moderation/src/ModerationInformation.php Determines if a pending revision exists for the specified entity.
ModerationInformationInterface::hasPendingRevision function core/modules/content_moderation/src/ModerationInformationInterface.php Determines if a pending revision exists for the specified entity.
ModerationInformationTest::testHasPendingRevision function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @covers ::hasPendingRevision
ModerationLocaleTest::hasModerationForm function core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php Checks whether the page contains the moderation form.
NullStorageExpirable::has function core/lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php Returns whether a given key exists in the store.
OEmbedIframeControllerTest::providerBadHashParameter function core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Data provider for testBadHashParameter().
OEmbedIframeControllerTest::testBadHashParameter function core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Tests validation of the 'hash' query string parameter.
OperationData::hasAppend function composer/Plugin/Scaffold/Operations/OperationData.php Checks if append path exists.

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