You are here

function facetapi_requirement_facet_property in Facet API 7

Same name and namespace in other branches
  1. 6.3 facetapi.requirements.inc \facetapi_requirement_facet_property()
  2. 7.2 facetapi.requirements.inc \facetapi_requirement_facet_property()

Checks equality of one or more facet properties.

Parameters

array $realm: The realm definition as returned by facetapi_realm_load().

array $facet: The facet definition as returned by facetapi_facet_load().

array $options: An array of values keyed by properties that are being compared.

Return value

TRUE if all property values are equal, FALSE otherwise.

File

./facetapi.requirements.inc, line 38
Requirement checking callbacks.

Code

function facetapi_requirement_facet_property(array $realm, array $facet, array $options, $operator = 'AND') {
  return facetapi_requirement_property($facet, $options, $operator);
}