BlockCreationTrait.php 733 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace Drupal\simpletest;
  3. @trigger_error(__NAMESPACE__ . '\BlockCreationTrait is deprecated in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use \Drupal\Tests\block\Traits\BlockCreationTrait instead. See https://www.drupal.org/node/2884454.', E_USER_DEPRECATED);
  4. use Drupal\Tests\block\Traits\BlockCreationTrait as BaseBlockCreationTrait;
  5. /**
  6. * Provides methods to create and place block with default settings.
  7. *
  8. * This trait is meant to be used only by test classes.
  9. *
  10. * @deprecated in drupal:8.4.0 and is removed from drupal:9.0.0. Use
  11. * \Drupal\Tests\block\Traits\BlockCreationTrait instead.
  12. *
  13. * @see https://www.drupal.org/node/2884454
  14. */
  15. trait BlockCreationTrait {
  16. use BaseBlockCreationTrait;
  17. }