public function YamlFormInterface::isDefaultRevision in YAML Form 8
Required to allow form which are config entities to have an EntityViewBuilder.
Prevents: Fatal error: Call to undefined method Drupal\yamlform\Entity\YamlForm::isDefaultRevision() in /private/var/www/sites/d8_dev/core/lib/Drupal/Core/Entity/EntityViewBuilder.php on line 169
Return value
bool Always return TRUE since config entities are not revisionable.
See also
\Drupal\Core\Entity\RevisionableInterface::isDefaultRevision()
1 method overrides YamlFormInterface::isDefaultRevision()
- YamlForm::isDefaultRevision in src/
Entity/ YamlForm.php - Required to allow form which are config entities to have an EntityViewBuilder.
File
- src/
YamlFormInterface.php, line 480
Class
- YamlFormInterface
- Provides an interface defining a form entity.
Namespace
Drupal\yamlformCode
public function isDefaultRevision();