projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Yaffs site version 1.1
[yaffs-website]
/
vendor
/
drupal
/
console
/
templates
/
module
/
src
/
Entity
/
Form
/
entity-content.php.twig
diff --git
a/vendor/drupal/console/templates/module/src/Entity/Form/entity-content.php.twig
b/vendor/drupal/console/templates/module/src/Entity/Form/entity-content.php.twig
index e703e5f17ae83fd5409f32c6eee46b03a9dbe5d1..63982a48598aa15485b6fcf98b995b42f94dd50f 100644
(file)
--- a/
vendor/drupal/console/templates/module/src/Entity/Form/entity-content.php.twig
+++ b/
vendor/drupal/console/templates/module/src/Entity/Form/entity-content.php.twig
@@
-30,12
+30,12
@@
class {{ entity_class }}Form extends ContentEntityForm {% endblock %}
{% if revisionable %}
if (!$this->entity->isNew()) {
- $form['new_revision'] =
array(
+ $form['new_revision'] =
[
'#type' => 'checkbox',
'#title' => $this->t('Create new revision'),
'#default_value' => FALSE,
'#weight' => 10,
-
)
;
+
]
;
}
{% endif %}