function EntityTestMulWithRevisionLogPub::baseFieldDefinitions
Same name in other branches
- 9 core/modules/system/tests/modules/entity_test_revlog/src/Entity/EntityTestMulWithRevisionLogPub.php \Drupal\entity_test_revlog\Entity\EntityTestMulWithRevisionLogPub::baseFieldDefinitions()
- 10 core/modules/system/tests/modules/entity_test_revlog/src/Entity/EntityTestMulWithRevisionLogPub.php \Drupal\entity_test_revlog\Entity\EntityTestMulWithRevisionLogPub::baseFieldDefinitions()
- 11.x core/modules/system/tests/modules/entity_test_revlog/src/Entity/EntityTestMulWithRevisionLogPub.php \Drupal\entity_test_revlog\Entity\EntityTestMulWithRevisionLogPub::baseFieldDefinitions()
Overrides EntityTestWithRevisionLog::baseFieldDefinitions
File
-
core/
modules/ system/ tests/ modules/ entity_test_revlog/ src/ Entity/ EntityTestMulWithRevisionLogPub.php, line 41
Class
- EntityTestMulWithRevisionLogPub
- Defines the test entity class.
Namespace
Drupal\entity_test_revlog\EntityCode
public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
return parent::baseFieldDefinitions($entity_type) + EntityPublishedTrait::publishedBaseFieldDefinitions($entity_type);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.