You are here

public function GdprField::followRelationship in General Data Protection Regulation 3.0.x

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

Indicates if the relationship should be followed.

Return value

bool True if it should be followed, otherwise false.

1 call to GdprField::followRelationship()
GdprField::includeRelatedEntities in modules/gdpr_fields/src/Entity/GdprField.php
Whether to recurse to entities included in this property.

File

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

Class

GdprField
Metadata for a GDPR field.

Namespace

Drupal\gdpr_fields\Entity

Code

public function followRelationship() {
  return $this->relationship === self::RELATIONSHIP_FOLLOW;
}