namespace Drupal\Tests\block\Traits

Same name in other branches
  1. 11.x Drupal\Tests\block\Traits
  2. 9 Drupal\Tests\block\Traits
  3. 8.9.x Drupal\Tests\block\Traits
Object name File name Summary
BlockCreationTrait core/modules/block/tests/src/Traits/BlockCreationTrait.php Provides methods to create and place block with default settings.

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