FilterEntityReferenceTrait::$hostBundle

Same name and namespace in other branches
  1. 11.x core/modules/views_ui/tests/src/Traits/FilterEntityReferenceTrait.php \Drupal\Tests\views_ui\Traits\FilterEntityReferenceTrait::hostBundle

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

Type: hostBundle

File

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

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.