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
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
DocumentElement::hasContent function core/tests/Drupal/Tests/DocumentElement.php Check whether document has specified content.
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.
DrupalKernel::generateServiceIdHash function core/lib/Drupal/Core/DrupalKernel.php Generate a unique hash for a service object.
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.
Editor::textFormatHasTransformationFilters function core/modules/quickedit/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.
EmphasisTest class core/modules/ckeditor5/tests/src/FunctionalJavascript/EmphasisTest.php Tests emphasis in CKEditor 5.
EmphasisTest.php file core/modules/ckeditor5/tests/src/FunctionalJavascript/EmphasisTest.php
EmphasisTest::$adminUser property core/modules/ckeditor5/tests/src/FunctionalJavascript/EmphasisTest.php The user to use during testing.
EmphasisTest::$defaultTheme property core/modules/ckeditor5/tests/src/FunctionalJavascript/EmphasisTest.php The theme to install as the default for testing.
EmphasisTest::$host property core/modules/ckeditor5/tests/src/FunctionalJavascript/EmphasisTest.php A host entity with a body field to use the <em> tag in.
EmphasisTest::$modules property core/modules/ckeditor5/tests/src/FunctionalJavascript/EmphasisTest.php Modules to enable.
EmphasisTest::setUp function core/modules/ckeditor5/tests/src/FunctionalJavascript/EmphasisTest.php
EmphasisTest::testEmphasis function core/modules/ckeditor5/tests/src/FunctionalJavascript/EmphasisTest.php Ensures that CKEditor italic model is converted to em.
EmphasisTest::testEmphasisArbitraryHtml function core/modules/ckeditor5/tests/src/FunctionalJavascript/EmphasisTest.php Tests that arbitrary attributes are allowed via GHS.
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.
EntityHasFieldConstraint::$notFieldableMessage property core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php The violation message for non-fieldable entities.
EntityHasFieldConstraint::getDefaultOption function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php
EntityHasFieldConstraint::getRequiredOptions function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php
EntityHasFieldConstraintValidator class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php Validates the EntityHasField constraint.
EntityHasFieldConstraintValidator.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php
EntityHasFieldConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php
EntityHasFieldConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php @covers \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityHasFieldConstraintValidator
EntityHasFieldConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php
EntityHasFieldConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php Modules to enable.
EntityHasFieldConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php
EntityHasFieldConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php
EntityInterface::hasLinkTemplate function core/lib/Drupal/Core/Entity/EntityInterface.php Indicates if a link template exists for a given key.
EntityReferenceFieldNormalizer::hasNonInternalResourceType function core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php Determines if a given list of resource types contains a non-internal type.
EntityReferenceItem::hasNewEntity function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Determines whether the item holds an unsaved entity.
EntityReferenceItemNormalizer::hasCacheableSupportsMethod function core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php
EntityStorageBase::has function core/lib/Drupal/Core/Entity/EntityStorageBase.php Determines if this entity already exists in storage.
EntityStorageBase::hasData function core/lib/Drupal/Core/Entity/EntityStorageBase.php Determines if the storage contains any data.
EntityStorageInterface::hasData function core/lib/Drupal/Core/Entity/EntityStorageInterface.php Determines if the storage contains any data.

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