public static function CacheDecoratedDataProvider::processFilterInput in RESTful 7.2
Processes the input for a filter and adds the appropriate defaults.
Parameters
mixed $filter: The input value for the filter.
string $public_field: The public name for the filter.
Return value
array The processed filter item with all of the defaults.
Throws
\Drupal\restful\Exception\BadRequestException
Overrides DataProviderInterface::processFilterInput
File
- src/
Plugin/ resource/ DataProvider/ CacheDecoratedDataProvider.php, line 62 - Contains \Drupal\restful\Plugin\resource\DataProvider\CacheDecoratedDataProvider.
Class
- CacheDecoratedDataProvider
- Class CacheDecoratedDataProvider.
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public static function processFilterInput($filter, $public_field) {
return DataProvider::processFilterInput($filter, $public_field);
}