You are here

BaseFieldTest.php in Entity Reference Hierarchy 3.x

Same filename and directory in other branches
  1. 8.2 tests/src/Kernel/BaseFieldTest.php

File

tests/src/Kernel/BaseFieldTest.php
View source
<?php

namespace Drupal\Tests\entity_hierarchy\Kernel;


/**
 * Defines a class for testing base field integration.
 *
 * @group entity_hierarchy
 */
class BaseFieldTest extends HierarchyNestedSetIntegrationTest {

  /**
   * {@inheritdoc}
   */
  protected static $modules = [
    'entity_hierarchy_test_base_field',
  ];

  /**
   * {@inheritdoc}
   */
  protected function setupEntityHierarchyField($entity_type_id, $bundle, $field_name) {

    // Nil op. We use a base field here.
  }

}

Classes

Namesort descending Description
BaseFieldTest Defines a class for testing base field integration.