public static function DataProviderDecorator::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/ DataProviderDecorator.php, line 203 - Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderDecorator.
Class
Namespace
Drupal\restful\Plugin\resource\DataProviderCode
public static function processFilterInput($filter, $public_field) {
return DataProvider::processFilterInput($filter, $public_field);
}