TypedDataMetadata::getCascadingStrategy

public TypedDataMetadata::getCascadingStrategy()

Returns the strategy for cascading objects.

Return value

int The cascading strategy

Overrides MetadataInterface::getCascadingStrategy

See also

CascadingStrategy

File

core/lib/Drupal/Core/TypedData/Validation/TypedDataMetadata.php, line 67

Class

TypedDataMetadata
Validator metadata for typed data objects.

Namespace

Drupal\Core\TypedData\Validation

Code

public function getCascadingStrategy() {
  // By default, never cascade into validating referenced data structures.
  return CascadingStrategy::NONE;
}
doc_Drupal
2016-10-29 09:50:14
Comments
Leave a Comment

Please login to continue.