public function GdprConsentAgreement::identifier in General Data Protection Regulation 7
Returns the entity identifier, i.e. the entities name or numeric id.
Return value
string|int The identifier of the entity. If the entity type makes use of a name key, the name is returned, else the numeric id.
Overrides Entity::identifier
See also
1 call to GdprConsentAgreement::identifier()
- GdprConsentAgreement::defaultUri in modules/
gdpr_consent/ gdpr_consent.module - Implement a custom default URI.
File
- modules/
gdpr_consent/ gdpr_consent.module, line 724 - Contains hook implementations and shared functions.
Class
- GdprConsentAgreement
- Our custom entity class.
Code
public function identifier() {
return $this
->internalIdentifier();
}