Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/block_content/src/Tests/BlockContentTestBase.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
1 <?php | 1 <?php |
2 | 2 |
3 namespace Drupal\block_content\Tests; | 3 namespace Drupal\block_content\Tests; |
4 | |
5 @trigger_error(__NAMESPACE__ . '\BlockContentTestBase is deprecated for removal before Drupal 9.0.0. Use Drupal\Tests\block_content\Functional\BlockContentTestBase instead. See https://www.drupal.org/node/2999939', E_USER_DEPRECATED); | |
4 | 6 |
5 use Drupal\block_content\Entity\BlockContent; | 7 use Drupal\block_content\Entity\BlockContent; |
6 use Drupal\block_content\Entity\BlockContentType; | 8 use Drupal\block_content\Entity\BlockContentType; |
7 use Drupal\simpletest\WebTestBase; | 9 use Drupal\simpletest\WebTestBase; |
8 | 10 |
9 /** | 11 /** |
10 * Sets up block content types. | 12 * Sets up block content types. |
11 * | 13 * |
12 * @deprecated Scheduled for removal in Drupal 9.0.0. | 14 * @deprecated Scheduled for removal in Drupal 9.0.0. |
13 * Use \Drupal\Tests\block_content\Functional\BlockContentTestBase instead. | 15 * Use \Drupal\Tests\block_content\Functional\BlockContentTestBase instead. |
16 * | |
17 * @see https://www.drupal.org/node/2999939 | |
14 */ | 18 */ |
15 abstract class BlockContentTestBase extends WebTestBase { | 19 abstract class BlockContentTestBase extends WebTestBase { |
16 | 20 |
17 /** | 21 /** |
18 * Profile to use. | 22 * Profile to use. |