interface ServicesClientConditionInterface in Services Client 7.2
Interface for implementing entity condition matching.
Hierarchy
- interface \ServicesClientConditionInterface
Expanded class hierarchy of ServicesClientConditionInterface
All classes that implement ServicesClientConditionInterface
File
- include/
condition.inc, line 6
View source
interface ServicesClientConditionInterface {
/**
* Retrieve condition summary for UI.
*
* @return string
* UI short summary.
*/
public function getSummary();
/**
* Check if entity matches condition.
*
* @param stdClass $entity
* Drupal entity that should be matched.
*
* @return bool
* TRUE if matches condition.
*/
public function match($entity);
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ServicesClientConditionInterface:: |
public | function | Retrieve condition summary for UI. | 3 |
ServicesClientConditionInterface:: |
public | function | Check if entity matches condition. | 3 |