You are here

public property RelationType::$source_bundles in Relation 8

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

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

This is used for both directional and non-directional relations. Bundle key arrays are of the form 'entity:bundle', eg. 'node:article', or 'entity:*' for all bundles of the type.

Type: array

File

src/Entity/RelationType.php, line 125

Class

RelationType
Defines relation type entity.

Namespace

Drupal\relation\Entity

Code

public $source_bundles = array();