public function DataFilterInterface::filtersTo in Typed Data API enhancements 8
Describes the data after applying the filter.
Parameters
\Drupal\Core\TypedData\DataDefinitionInterface $definition: The definition of the filtered data.
string[] $arguments: The array of filter arguments.
Return value
\Drupal\Core\TypedData\DataDefinitionInterface The definition of the resulting data.
6 methods override DataFilterInterface::filtersTo()
- DefaultFilter::filtersTo in src/
Plugin/ TypedDataFilter/ DefaultFilter.php - Describes the data after applying the filter.
- EntityUrlFilter::filtersTo in src/
Plugin/ TypedDataFilter/ EntityUrlFilter.php - Describes the data after applying the filter.
- FormatDateFilter::filtersTo in src/
Plugin/ TypedDataFilter/ FormatDateFilter.php - Describes the data after applying the filter.
- FormatTextFilter::filtersTo in src/
Plugin/ TypedDataFilter/ FormatTextFilter.php - Describes the data after applying the filter.
- LowerFilter::filtersTo in src/
Plugin/ TypedDataFilter/ LowerFilter.php - Describes the data after applying the filter.
File
- src/
DataFilterInterface.php, line 58
Class
- DataFilterInterface
- Interface for data filters.
Namespace
Drupal\typed_dataCode
public function filtersTo(DataDefinitionInterface $definition, array $arguments);