You are here

public function ServicesClientConditionInterface::match in Services Client 7.2

Check if entity matches condition.

Parameters

stdClass $entity: Drupal entity that should be matched.

Return value

bool TRUE if matches condition.

3 methods override ServicesClientConditionInterface::match()
ServicesClientFieldCondition::match in include/condition.inc
Match entity with condition.
ServicesClientPropertyCondition::match in include/condition.inc
Match entity with condition.
ServicesClientUserRoleCondition::match in include/condition.inc
Check if entity matches condition.

File

include/condition.inc, line 25

Class

ServicesClientConditionInterface
Interface for implementing entity condition matching.

Code

public function match($entity);