function EntityTestMulChanged::save
Same name in other branches
- 9 core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulChanged.php \Drupal\entity_test\Entity\EntityTestMulChanged::save()
- 8.9.x core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulChanged.php \Drupal\entity_test\Entity\EntityTestMulChanged::save()
- 11.x core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulChanged.php \Drupal\entity_test\Entity\EntityTestMulChanged::save()
Overrides EntityBase::save
File
-
core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestMulChanged.php, line 72
Class
- EntityTestMulChanged
- Defines the test entity class.
Namespace
Drupal\entity_test\EntityCode
public function save() {
// Ensure a new timestamp.
sleep(1);
return parent::save();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.