function rules_data_type_hybridauth::get_identifier in HybridAuth Social Login 6.2
Gets the identifier of this data, which can be of every php data type - even an array. Implement it, if your data type is identifiable.
Overrides rules_data_type::get_identifier
File
- ./
hybridauth.rules.inc, line 34 - Functions for integrating the Rules module with HybridAuth.
Class
- rules_data_type_hybridauth
- Defines the rules hybridauth data type.
Code
function get_identifier() {
$hybridauth =& $this
->get();
return $hybridauth['id'];
}