You are here

public function GdprField::setRtf in General Data Protection Regulation 8.2

Same name and namespace in other branches
  1. 8 modules/gdpr_fields/src/Entity/GdprField.php \Drupal\gdpr_fields\Entity\GdprField::setRtf()
  2. 3.0.x modules/gdpr_fields/src/Entity/GdprField.php \Drupal\gdpr_fields\Entity\GdprField::setRtf()

Sets the RTF setting.

Parameters

string $rtf: RTF setting.

Return value

$this

File

modules/gdpr_fields/src/Entity/GdprField.php, line 272

Class

GdprField
Metadata for a GDPR field.

Namespace

Drupal\gdpr_fields\Entity

Code

public function setRtf($rtf) {
  $this->rtf = $rtf;
  return $this;
}