ExecutionContext::addViolationAt

public ExecutionContext::addViolationAt($subPath, $message, array $parameters = array(), $invalidValue = NULL, $plural = NULL, $code = NULL)

File

core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php, line 249

Class

ExecutionContext
Defines an execution context class.

Namespace

Drupal\Core\TypedData\Validation

Code

public function addViolationAt($subPath, $message, array $parameters = array(), $invalidValue = NULL, $plural = NULL, $code = NULL) {
  throw new \LogicException('Legacy validator API is unsupported.');
}
doc_Drupal
2016-10-29 09:09:28
Comments
Leave a Comment

Please login to continue.