EntityHasFieldConstraint::$field_name

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityHasFieldConstraint::field_name
  2. 8.9.x core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityHasFieldConstraint::field_name
  3. 11.x core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityHasFieldConstraint::field_name

Type: field_name

File

core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php, line 39

Class

EntityHasFieldConstraint
Checks if a value is an entity that has a specific field.

Namespace

Drupal\Core\Entity\Plugin\Validation\Constraint

Code

public $field_name;

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