Search for hasField
- Search 7.x for hasField
- Search 9.5.x for hasField
- Search 10.3.x for hasField
- Search 11.x for hasField
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ContentEntityBase::hasField | function | core/ |
|
ContentEntityStorageBase::hasFieldValueChanged | function | core/ |
Checks whether the field values changed compared to the original entity. |
EntityHasFieldConstraint | class | core/ |
Checks if a value is an entity that has a specific field. |
EntityHasFieldConstraint.php | file | core/ |
|
EntityHasFieldConstraint::$field_name | property | core/ |
The field name option. |
EntityHasFieldConstraint::$message | property | core/ |
The default violation message. |
EntityHasFieldConstraint::$notFieldableMessage | property | core/ |
The violation message for non-fieldable entities. |
EntityHasFieldConstraint::getDefaultOption | function | core/ |
|
EntityHasFieldConstraint::getRequiredOptions | function | core/ |
|
EntityHasFieldConstraintValidator | class | core/ |
Validates the EntityHasField constraint. |
EntityHasFieldConstraintValidator.php | file | core/ |
|
EntityHasFieldConstraintValidator::validate | function | core/ |
|
EntityHasFieldConstraintValidatorTest | class | core/ |
@covers \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityHasFieldConstraintValidator |
EntityHasFieldConstraintValidatorTest.php | file | core/ |
|
EntityHasFieldConstraintValidatorTest::$modules | property | core/ |
Modules to enable. |
EntityHasFieldConstraintValidatorTest::setUp | function | core/ |
|
EntityHasFieldConstraintValidatorTest::testValidation | function | core/ |
|
FieldableEntityInterface::hasField | function | core/ |
Determines whether the entity has a field with the given name. |
ResourceObject::hasField | function | core/ |
Whether the resource object has the given field. |
ResourceType::hasField | function | core/ |
Checks if the field exists. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.