public function GdprField::setEnabled in General Data Protection Regulation 8
Same name and namespace in other branches
- 8.2 modules/gdpr_fields/src/Entity/GdprField.php \Drupal\gdpr_fields\Entity\GdprField::setEnabled()
- 3.0.x modules/gdpr_fields/src/Entity/GdprField.php \Drupal\gdpr_fields\Entity\GdprField::setEnabled()
Sets whether this is a GDPR field.
Parameters
bool $enabled: Enabled/disabled.
Return value
$this
File
- modules/
gdpr_fields/ src/ Entity/ GdprField.php, line 246
Class
- GdprField
- Metadata for a GDPR field.
Namespace
Drupal\gdpr_fields\EntityCode
public function setEnabled($enabled) {
$this->enabled = $enabled;
return $this;
}