RecursiveValidator::hasMetadataFor

public RecursiveValidator::hasMetadataFor($value)

File

core/lib/Drupal/Core/TypedData/Validation/RecursiveValidator.php, line 81

Class

RecursiveValidator
Defines a recursive validator for Typed Data.

Namespace

Drupal\Core\TypedData\Validation

Code

public function hasMetadataFor($value) {
  return $value instanceof TypedDataInterface;
}
doc_Drupal
2016-10-29 09:36:49
Comments
Leave a Comment

Please login to continue.