FilterEntityReferenceTrait::$hostBundle

The host content type to add the entity reference field to.

Type: \Drupal\node\NodeTypeInterface

File

core/modules/views_ui/tests/src/Traits/FilterEntityReferenceTrait.php, line 34

Class

FilterEntityReferenceTrait
Sets up the entity types and relationships for entity reference tests.

Namespace

Drupal\Tests\views_ui\Traits

Code

protected NodeTypeInterface $hostBundle;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.