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
ContentEntityTypeInterface::hasRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php Indicates if a given entity revision metadata key exists.
ContentModeration::workflowHasData function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php Determines if the workflow is being has data associated with it.
ContentModeration::workflowStateHasData function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php Determines if the workflow state has data associated with it.
ContentTranslationHandler::hasAuthor function core/modules/content_translation/src/ContentTranslationHandler.php Checks whether the entity type supports author natively.
ContentTranslationHandler::hasChangedTime function core/modules/content_translation/src/ContentTranslationHandler.php Checks whether the entity type supports modification time natively.
ContentTranslationHandler::hasCreatedTime function core/modules/content_translation/src/ContentTranslationHandler.php Checks whether the entity type supports creation time natively.
ContentTranslationHandler::hasPublishedStatus function core/modules/content_translation/src/ContentTranslationHandler.php Checks whether the entity type supports published status natively.
ContentTranslationSynchronizedFieldsConstraintValidator::hasSynchronizedPropertyChanges function core/modules/content_translation/src/Plugin/Validation/Constraint/ContentTranslationSynchronizedFieldsConstraintValidator.php Checks whether any synchronized property has changes.
Context::hasContextValue function core/lib/Drupal/Core/Plugin/Context/Context.php Returns whether the context has a value.
Context::hasContextValue function core/lib/Drupal/Component/Plugin/Context/Context.php Returns whether the context has a value.
ContextAwarePluginDefinitionInterface::hasContextDefinition function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionInterface.php Checks if the plugin defines a particular context.
ContextAwarePluginDefinitionTrait::hasContextDefinition function core/lib/Drupal/Component/Plugin/Definition/ContextAwarePluginDefinitionTrait.php Implements \Drupal\Component\Plugin\Definition\ContextAwarePluginDefinitionInterface::hasContextDefinition().
ContextInterface::hasContextValue function core/lib/Drupal/Component/Plugin/Context/ContextInterface.php Returns whether the context has a value.
Crypt::hashBase64 function core/lib/Drupal/Component/Utility/Crypt.php Calculates a base-64 encoded, URL-safe sha-256 hash.
Crypt::hashEquals function core/lib/Drupal/Component/Utility/Crypt.php Compares strings in constant time.
CryptTest::providerTestHashBase64 function core/tests/Drupal/Tests/Component/Utility/CryptTest.php Provides data for self::testHashBase64().
CryptTest::testHashBase64 function core/tests/Drupal/Tests/Component/Utility/CryptTest.php Tests hash generation.
CryptTest::testHashEquals function core/tests/Drupal/Tests/Component/Utility/CryptTest.php Legacy test of Drupal\Component\Utility\Crypt::hashEquals() method.
CsrfTokenGeneratorTest::testGetWithNoHashSalt function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests the exception thrown when no 'hash_salt' is provided in settings.
CssCollectionOptimizer::generateHash function core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php Generate a hash for a given group of CSS assets.
Data::$hasNextPage property core/modules/jsonapi/src/JsonApiResource/Data.php Holds a boolean indicating if there is a next page.
Data::hasNextPage function core/modules/jsonapi/src/JsonApiResource/Data.php Checks if there is a next page in the collection.
Data::setHasNextPage function core/modules/jsonapi/src/JsonApiResource/Data.php Sets the has next page flag.
DatabaseStorage::has function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Returns whether a given key exists in the store.
DatabaseStorageExpirable::has function core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php Returns whether a given key exists in the store.
Date::hasValidGroupedValue function core/modules/views/src/Plugin/views/filter/Date.php Determines if the given grouped filter entry has a valid value.
DateTimePlus::hasErrors function core/lib/Drupal/Component/Datetime/DateTimePlus.php Detects if there were errors in the processing of this date.
DefaultLazyPluginCollectionTest::testHas function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @covers ::has
DiffEngine::_line_hash function core/lib/Drupal/Component/Diff/Engine/DiffEngine.php Returns the whole line if it's small enough, or the MD5 hash otherwise.
DiscoveryInterface::hasDefinition function core/lib/Drupal/Component/Plugin/Discovery/DiscoveryInterface.php Indicates if a specific plugin definition exists.
DiscoveryTrait::hasDefinition function core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php
DiscoveryTraitTest::providerHasDefinition function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php Data provider for testHasDefinition().
DiscoveryTraitTest::testHasDefinition function core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php @covers ::hasDefinition
@dataProvider providerHasDefinition
DisplayLink::hasEqualOptions function core/modules/views/src/Plugin/views/area/DisplayLink.php Check if the options of a views display are equal to the current display.
DisplayPluginBase::hasPath function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Checks to see if the display has a 'path' field.
DisplayPluginInterface::hasPath function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Checks to see if the display has a 'path' field.
DocParserTest::testKeyHasNumber function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
DocParserTest::testWithoutConstructorWhenHasNoProperties function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php
Drupal::hasContainer function core/lib/Drupal.php Returns TRUE if the container has been initialized, FALSE otherwise.
Drupal::hasRequest function core/lib/Drupal.php Indicates if there is a currently active request object.
Drupal::hasService function core/lib/Drupal.php Indicates if a service is defined in the container.
Editor::hasAssociatedFilterFormat function core/modules/editor/src/Entity/Editor.php Returns whether this text editor has an associated filter format.
Editor::textFormatHasTransformationFilters function core/modules/editor/src/Plugin/InPlaceEditor/Editor.php Returns whether the text format has transformation filters.
EditorInterface::hasAssociatedFilterFormat function core/modules/editor/src/EditorInterface.php Returns whether this text editor has an associated filter format.
EntityBase::hasLinkTemplate function core/lib/Drupal/Core/Entity/EntityBase.php Indicates if a link template exists for a given key.
EntityDisplayBase::fieldHasDisplayOptions function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Determines if a field has options for a given display.
EntityHasFieldConstraint class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php Checks if a value is an entity that has a specific field.
EntityHasFieldConstraint.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php
EntityHasFieldConstraint::$field_name property core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php The field name option.
EntityHasFieldConstraint::$message property core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php The default violation message.

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