function StubRevisionableEntity::isDefaultRevision
Overrides RevisionableInterface::isDefaultRevision
File
-
core/
tests/ Drupal/ Tests/ Core/ Entity/ StubRevisionableEntity.php, line 52
Class
- StubRevisionableEntity
- A stub revisionable entity for testing purposes.
Namespace
Drupal\Tests\Core\EntityCode
public function isDefaultRevision($new_value = NULL) : bool {
return FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.