CommentBundlesTest::$targetEntityTypes

Same name in other branches
  1. 9 core/modules/comment/tests/src/Kernel/CommentBundlesTest.php \Drupal\Tests\comment\Kernel\CommentBundlesTest::targetEntityTypes
  2. 8.9.x core/modules/comment/tests/src/Kernel/CommentBundlesTest.php \Drupal\Tests\comment\Kernel\CommentBundlesTest::targetEntityTypes
  3. 11.x core/modules/comment/tests/src/Kernel/CommentBundlesTest.php \Drupal\Tests\comment\Kernel\CommentBundlesTest::targetEntityTypes

Entity type ids to use for target_entity_type_id on comment bundles.

Type: array

File

core/modules/comment/tests/src/Kernel/CommentBundlesTest.php, line 27

Class

CommentBundlesTest
Tests that comment bundles behave as expected.

Namespace

Drupal\Tests\comment\Kernel

Code

protected $targetEntityTypes;

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