public function DataProviderEntityInterface::entityValidate in RESTful 7.2
Validate an entity before it is saved.
Parameters
\EntityDrupalWrapper $wrapper: The wrapped entity.
Throws
2 methods override DataProviderEntityInterface::entityValidate()
- DataProviderEntity::entityValidate in src/
Plugin/ resource/ DataProvider/ DataProviderEntity.php - Validate an entity before it is saved.
- DataProviderEntityDecorator::entityValidate in src/
Plugin/ resource/ DataProvider/ DataProviderEntityDecorator.php - Validate an entity before it is saved.
File
- src/
Plugin/ resource/ DataProvider/ DataProviderEntityInterface.php, line 30 - Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderEntityInterface.
Class
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public function entityValidate(\EntityDrupalWrapper $wrapper);