Yaffs site version 1.1
[yaffs-website] / vendor / drupal / console / templates / module / src / Entity / Form / entity-content.php.twig
index e703e5f17ae83fd5409f32c6eee46b03a9dbe5d1..63982a48598aa15485b6fcf98b995b42f94dd50f 100644 (file)
@@ -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 %}