TestSelection::$isReusable

Same name in other branches
  1. 8.9.x core/modules/block_content/tests/modules/block_content_test/src/Plugin/EntityReferenceSelection/TestSelection.php \Drupal\block_content_test\Plugin\EntityReferenceSelection\TestSelection::isReusable
  2. 10 core/modules/block_content/tests/modules/block_content_test/src/Plugin/EntityReferenceSelection/TestSelection.php \Drupal\block_content_test\Plugin\EntityReferenceSelection\TestSelection::isReusable
  3. 11.x core/modules/block_content/tests/modules/block_content_test/src/Plugin/EntityReferenceSelection/TestSelection.php \Drupal\block_content_test\Plugin\EntityReferenceSelection\TestSelection::isReusable

Whether to set the condition for reusable or non-reusable blocks.

Type: bool

File

core/modules/block_content/tests/modules/block_content_test/src/Plugin/EntityReferenceSelection/TestSelection.php, line 24

Class

TestSelection
Test EntityReferenceSelection with conditions on the 'reusable' field.

Namespace

Drupal\block_content_test\Plugin\EntityReferenceSelection

Code

protected $isReusable;

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