public function ProfileType::showRevisionUi in Profile 8
Gets whether profiles of this type should show the revision fields.
Return value
bool Whether profiles of this type should show the revision fields.
Overrides ProfileTypeInterface::showRevisionUi
File
- src/
Entity/ ProfileType.php, line 199
Class
- ProfileType
- Defines the profile type entity class.
Namespace
Drupal\profile\EntityCode
public function showRevisionUi() {
return $this
->allowsRevisions() && $this
->entityTypeManager()
->getDefinition('profile')
->showRevisionUi();
}