public function DataProviderEntityDecorator::entityValidate in RESTful 7.2
Validate an entity before it is saved.
Parameters
\EntityDrupalWrapper $wrapper: The wrapped entity.
Throws
Overrides DataProviderEntityInterface::entityValidate
File
- src/
Plugin/ resource/ DataProvider/ DataProviderEntityDecorator.php, line 51 - Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderEntityDecorator.
Class
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public function entityValidate(\EntityDrupalWrapper $wrapper) {
$this->decorated
->entityValidate($wrapper);
}