public function UserConsentInterface::setName in Data Policy 8
Sets the User consent name.
Parameters
string $name: The User consent name.
Return value
\Drupal\data_policy\Entity\UserConsentInterface The called User consent entity.
1 method overrides UserConsentInterface::setName()
- UserConsent::setName in src/
Entity/ UserConsent.php - Sets the User consent name.
File
- src/
Entity/ UserConsentInterface.php, line 48
Class
- UserConsentInterface
- Provides an interface for defining User consent entities.
Namespace
Drupal\data_policy\EntityCode
public function setName($name);