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
FormStateDecoratorBase::hasAnyErrors function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Determines if any forms have any errors.
FormStateDecoratorBase::hasFileElement function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Returns whether this form has a file element.
FormStateDecoratorBase::hasInvalidToken function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Determines if the form has an invalid token.
FormStateDecoratorBase::hasTemporaryValue function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Determines if a temporary value is present.
FormStateDecoratorBase::hasValue function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Determines if a specific key is present in the submitted form values.
FormStateDecoratorBase::setHasFileElement function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets that this form has a file element.
FormStateDecoratorBaseTest::providerHas function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Provides data to self::testHas().
FormStateDecoratorBaseTest::providerHasTemporaryValue function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Provides data to self::testHasTemporaryValue().
FormStateDecoratorBaseTest::testHas function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::has[[api-linebreak]]
FormStateDecoratorBaseTest::testHasFileElement function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::hasFileElement[[api-linebreak]]
FormStateDecoratorBaseTest::testHasInvalidToken function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::hasInvalidToken[[api-linebreak]]
FormStateDecoratorBaseTest::testHasTemporaryValue function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::hasTemporaryValue[[api-linebreak]]
FormStateDecoratorBaseTest::testHasValue function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::hasValue[[api-linebreak]]
FormStateDecoratorBaseTest::testSetHasFileElement function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setHasFileElement[[api-linebreak]]
FormStateInterface::has function core/lib/Drupal/Core/Form/FormStateInterface.php Determines if a property is present in the form state storage.
FormStateInterface::hasAnyErrors function core/lib/Drupal/Core/Form/FormStateInterface.php Determines if any forms have any errors.
FormStateInterface::hasFileElement function core/lib/Drupal/Core/Form/FormStateInterface.php Returns whether this form has a file element.
FormStateInterface::hasInvalidToken function core/lib/Drupal/Core/Form/FormStateInterface.php Determines if the form has an invalid token.
FormStateInterface::hasTemporaryValue function core/lib/Drupal/Core/Form/FormStateInterface.php Determines if a temporary value is present.
FormStateInterface::hasValue function core/lib/Drupal/Core/Form/FormStateInterface.php Determines if a specific key is present in the submitted form values.
FormStateInterface::setHasFileElement function core/lib/Drupal/Core/Form/FormStateInterface.php Sets that this form has a file element.
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[[api-linebreak]]
FormValidatorTestMockInterface::hash_validate function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Function used in the mocking process of this test.
HandlerBase::hasExtraOptions function core/modules/views/src/Plugin/views/HandlerBase.php Determines if the handler has extra options.
HelpPageTestController::hasHelp function core/modules/help/tests/modules/help_page_test/src/HelpPageTestController.php Provides a route with help.
HTMLRestrictions::validateAllowedRestrictionsPhase1 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 1: shape of keys.
HTMLRestrictions::validateAllowedRestrictionsPhase2 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 2: shape of values.
HTMLRestrictions::validateAllowedRestrictionsPhase3 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 3: HTML tag attribute restriction keys.
HTMLRestrictions::validateAllowedRestrictionsPhase4 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 4: HTML tag attr restriction values.
HTMLRestrictions::validateAllowedRestrictionsPhase5 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 5: disallowed attribute overrides.
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.
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.
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 using its href and its target attributes, if any.
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().

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