You are here

public function ResourceFieldEnhancerBase::getInternalValidator in JSON:API Extras 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/ResourceFieldEnhancerBase.php \Drupal\jsonapi_extras\Plugin\ResourceFieldEnhancerBase::getInternalValidator()

File

src/Plugin/ResourceFieldEnhancerBase.php, line 77

Class

ResourceFieldEnhancerBase
Common base class for resourceFieldEnhancer plugins.

Namespace

Drupal\jsonapi_extras\Plugin

Code

public function getInternalValidator() {
  return new AcceptValidator();
}