public function ConsentAgreement::getName in General Data Protection Regulation 8
Same name and namespace in other branches
- 8.2 modules/gdpr_consent/src/Entity/ConsentAgreement.php \Drupal\gdpr_consent\Entity\ConsentAgreement::getName()
- 3.0.x modules/gdpr_consent/src/Entity/ConsentAgreement.php \Drupal\gdpr_consent\Entity\ConsentAgreement::getName()
Gets the Consent Agreement name.
Return value
string Name of the Consent Agreement.
Overrides ConsentAgreementInterface::getName
File
- modules/
gdpr_consent/ src/ Entity/ ConsentAgreement.php, line 131
Class
- ConsentAgreement
- Defines the ConsentAgreement entity.
Namespace
Drupal\gdpr_consent\EntityCode
public function getName() {
return $this
->get('name')->value;
}