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
FileEntityNormalizer::hasCacheableSupportsMethod function core/modules/hal/src/Normalizer/FileEntityNormalizer.php
FilterPluginBase::hasValidGroupedValue function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php Determines if the given grouped filter entry has a valid value.
FormState::$has_file_element property core/lib/Drupal/Core/Form/FormState.php Indicates a file element is present.
FormState::has function core/lib/Drupal/Core/Form/FormState.php Determines if an arbitrary property is present.
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 an arbitrary property is present.
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 an arbitrary property is present.
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]]
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[[api-linebreak]]
ForumUninstallValidatorTest::testValidateHasTermsForVocabularyAccess function core/modules/forum/tests/src/Unit/ForumUninstallValidatorTest.php @covers ::validate[[api-linebreak]]
ForumUninstallValidatorTest::testValidateHasTermsForVocabularyNoAccess function core/modules/forum/tests/src/Unit/ForumUninstallValidatorTest.php @covers ::validate[[api-linebreak]]
ForumUninstallValidatorTest::testValidateHasTermsForVocabularyWithNodesAccess function core/modules/forum/tests/src/Unit/ForumUninstallValidatorTest.php @covers ::validate[[api-linebreak]]
ForumUninstallValidatorTest::testValidateHasTermsForVocabularyWithNodesNoAccess function core/modules/forum/tests/src/Unit/ForumUninstallValidatorTest.php @covers ::validate[[api-linebreak]]
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.
HttpExceptionNormalizer::hasCacheableSupportsMethod function core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php
IFrameUrlHelper::getHash function core/modules/media/src/IFrameUrlHelper.php Hashes an oEmbed resource URL.

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