DimensionValues
class DimensionValues implements FilterInterface (View source)
Filter nodes by their dimensions.
Properties
protected ContentDimensionRepository | $contentDimensionRepository | ||
protected array | $dimensionValues | The array of dimension values to filter for. |
|
protected bool | $filterForDefaultDimensionValues | Overrides the given dimensionValues with dimension defaults. |
Methods
setDimensionValues(array $dimensionValues)
No description
setFilterForDefaultDimensionValues(bool $filterForDefaultDimensionValues)
No description
Details
setDimensionValues(array $dimensionValues)
No description
setFilterForDefaultDimensionValues(bool $filterForDefaultDimensionValues)
No description
bool
matches(NodeData $node)
Returns true if the given node has the default dimension values.