You are here

public function GdprField::setRelationship in General Data Protection Regulation 8

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

Sets the relationship.

Parameters

int $relationship: Relationship setting.

Return value

$this

File

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

Class

GdprField
Metadata for a GDPR field.

Namespace

Drupal\gdpr_fields\Entity

Code

public function setRelationship($relationship) {
  $this->relationship = $relationship;
  return $this;
}