Search for hasField
- Search 7.x for hasField
- Search 9.5.x for hasField
- Search 8.9.x for hasField
- Search 11.x for hasField
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ContentEntityBase::hasField | function | core/ |
Determines whether the entity has a field with the given name. |
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/ |
@todo Add method return type declaration. |
EntityHasFieldConstraint::getRequiredOptions | function | core/ |
@todo Add method return type declaration. |
EntityHasFieldConstraintValidator | class | core/ |
Validates the EntityHasField constraint. |
EntityHasFieldConstraintValidator.php | file | core/ |
|
EntityHasFieldConstraintValidator::validate | function | core/ |
|
FieldableEntityInterface::hasField | function | core/ |
Determines whether the entity has a field with the given name. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.