You are here

public property RelationType::$target_bundles in Relation 8.2

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

List of entity bundles that can be used as relation targets.

This is the same format as source bundles, but is only used for directional relations.

Type: array

File

src/Entity/RelationType.php, line 140

Class

RelationType
Defines relation type entity.

Namespace

Drupal\relation\Entity

Code

public $target_bundles = array();