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
FormState::has function core/lib/Drupal/Core/Form/FormState.php Determines if a property is present in the form state storage.
FormState::hasAnyErrors function core/lib/Drupal/Core/Form/FormState.php Determines if any forms have any errors.
FormState::hasFileElement function core/lib/Drupal/Core/Form/FormState.php Returns whether this form has a file element.
FormState::hasInvalidToken function core/lib/Drupal/Core/Form/FormState.php Determines if the form has an invalid token.
FormState::hasTemporaryValue function core/lib/Drupal/Core/Form/FormState.php Determines if a temporary value is present.
FormState::setHasFileElement function core/lib/Drupal/Core/Form/FormState.php Sets that this form has a file element.
FormStateDecoratorBase::has function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Determines if a property is present in the form state storage.
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
FormStateDecoratorBaseTest::testHasFileElement function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::hasFileElement
FormStateDecoratorBaseTest::testHasInvalidToken function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::hasInvalidToken
FormStateDecoratorBaseTest::testHasTemporaryValue function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::hasTemporaryValue
FormStateDecoratorBaseTest::testHasValue function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::hasValue
FormStateDecoratorBaseTest::testSetHasFileElement function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setHasFileElement
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
FormValidatorTestMockInterface::hash_validate function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Function used in the mocking process of this test.
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 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

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