You are here

public property RelationType::$target_bundles in Relation 8

Same name and namespace in other branches
  1. 8.2 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 135

Class

RelationType
Defines relation type entity.

Namespace

Drupal\relation\Entity

Code

public $target_bundles = array();