You are here

public property RelationType::$max_arity in Relation 8.2

Same name and namespace in other branches
  1. 8 src/Entity/RelationType.php \Drupal\relation\Entity\RelationType::max_arity

The maximum number of entities that can make up a relation of this type.

Similar to field cardinality.

Type: int

File

src/Entity/RelationType.php, line 119

Class

RelationType
Defines relation type entity.

Namespace

Drupal\relation\Entity

Code

public $max_arity = 2;