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 11.x for has
  5. Other projects
Title Object type File name Summary
FieldStorageConfig::hasCustomStorage function core/modules/field/src/Entity/FieldStorageConfig.php Returns the storage behavior for this field.
FieldStorageConfig::hasData function core/modules/field/src/Entity/FieldStorageConfig.php Determines whether a field has any data.
FieldStorageDefinitionInterface::hasCustomStorage function core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php Returns the storage behavior for this field.
FieldTranslationSynchronizer::itemHash function core/modules/content_translation/src/FieldTranslationSynchronizer.php Computes a hash code for the specified item.
FileUploadResult::hasViolations function core/modules/file/src/Upload/FileUploadResult.php Returns TRUE if there are constraint violations.
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 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[[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.
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.

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