installEntitySchemas example

use ContentModerationTestTrait;

  /** * {@inheritdoc} */
  protected function setUp(): void {
    // Enable all modules.     self::$modules = array_keys($this->coreModuleListDataProvider());
    parent::setUp();

    // Install required entity schemas.     $this->installEntitySchemas();

    // Install required schemas.     $this->installSchema('book', ['book']);
    $this->installSchema('dblog', ['watchdog']);
    // @todo Remove forum in https://www.drupal.org/project/drupal/issues/3261653     $this->installSchema('forum', ['forum_index']);
    $this->installSchema('node', ['node_access']);
    $this->installSchema('search', ['search_dataset']);
    $this->installSchema('system', ['sequences']);
    // @todo Remove tracker in https://www.drupal.org/project/drupal/issues/3261452     $this->installSchema('tracker', ['tracker_node', 'tracker_user']);

    
use ContentModerationTestTrait;

  /** * {@inheritdoc} */
  protected function setUp(): void {
    // Enable all modules.     self::$modules = array_keys($this->coreModuleListDataProvider());
    parent::setUp();

    // Install required entity schemas.     $this->installEntitySchemas();

    // Install required schemas.     $this->installSchema('book', ['book']);
    $this->installSchema('dblog', ['watchdog']);
    // @todo Remove forum in https://www.drupal.org/project/drupal/issues/3261653     $this->installSchema('forum', ['forum_index']);
    $this->installSchema('node', ['node_access']);
    $this->installSchema('search', ['search_dataset']);
    $this->installSchema('system', ['sequences']);
    // @todo Remove tracker in https://www.drupal.org/project/drupal/issues/3261452     $this->installSchema('tracker', ['tracker_node', 'tracker_user']);

    
Home | Imprint | This part of the site doesn't use cookies.