function EntityTestMulRevPub::baseFieldDefinitions

Same name in other branches
  1. 9 core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulRevPub.php \Drupal\entity_test\Entity\EntityTestMulRevPub::baseFieldDefinitions()
  2. 8.9.x core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulRevPub.php \Drupal\entity_test\Entity\EntityTestMulRevPub::baseFieldDefinitions()
  3. 11.x core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulRevPub.php \Drupal\entity_test\Entity\EntityTestMulRevPub::baseFieldDefinitions()

Overrides EntityTestMulRev::baseFieldDefinitions

File

core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulRevPub.php, line 61

Class

EntityTestMulRevPub
Defines the test entity class.

Namespace

Drupal\entity_test\Entity

Code

public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
    return parent::baseFieldDefinitions($entity_type) + static::publishedBaseFieldDefinitions($entity_type);
}

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