diff -u b/src/EntityClone/Content/ContentEntityCloneFormBase.php b/src/EntityClone/Content/ContentEntityCloneFormBase.php
--- b/src/EntityClone/Content/ContentEntityCloneFormBase.php
+++ b/src/EntityClone/Content/ContentEntityCloneFormBase.php
@@ -76,7 +76,9 @@
    * {@inheritdoc}
    */
   public function formElement(EntityInterface $entity) {
-    $form = [];
+    $form = [
+      'recursive' => []
+    ];
 
     if ($entity instanceof FieldableEntityInterface) {
       foreach ($entity->getFieldDefinitions() as $field_id => $field_definition) {
@@ -84,7 +86,7 @@
           $field = $entity->get($field_id);
           /** @var \Drupal\Core\Field\Plugin\Field\FieldType\EntityReferenceItem $value */
           if ($field->count() > 0) {
-            $form['recursive'] = $this->getRecursiveFormElement($field_definition, $field_id, $field);
+            $form['recursive'] = array_merge($form['recursive'], $this->getRecursiveFormElement($field_definition, $field_id, $field));
           }
         }
       }
@@ -133,11 +135,15 @@
           '@entity_label' => $referenced_entity->label(),
         ]),
         '#default_value' => $this->entityCloneSettingsManager->getDefaultValue($referenced_entity->getEntityTypeId()),
-        '#attributes' => [
-          'disabled' => $this->entityCloneSettingsManager->getDisableValue($referenced_entity->getEntityTypeId()),
-        ],
       ];
 
+      if ($this->entityCloneSettingsManager->getDisableValue($referenced_entity->getEntityTypeId())) {
+        $form_element[$field_definition->id()]['references'][$referenced_entity->id()]['clone']['#attributes'] = [
+          'disabled' => TRUE,
+        ];
+        $form_element[$field_definition->id()]['references'][$referenced_entity->id()]['clone']['#value'] = $form_element[$field_definition->id()]['references'][$referenced_entity->id()]['clone']['#default_value'];
+      }
+
       $form_element[$field_definition->id()]['references'][$referenced_entity->id()]['target_entity_type_id'] = [
         '#type' => 'hidden',
         '#value' => $referenced_entity->getEntityTypeId(),
@@ -147,7 +153,6 @@
         '#type' => 'hidden',
         '#value' => $referenced_entity->bundle(),
       ];
-
       $form_element[$field_definition->id()]['references'][$referenced_entity->id()]['children'] = $this->getChildren($referenced_entity);
     }
 
reverted:
--- b/src/EntityClonePermissions.php
+++ a/src/EntityClonePermissions.php
@@ -26,6 +26,7 @@
    */
   protected $translationManager;
 
+
   /**
    * Constructs a new EntityClonePermissions instance.
    *
diff -u b/src/Form/EntityCloneForm.php b/src/Form/EntityCloneForm.php
--- b/src/Form/EntityCloneForm.php
+++ b/src/Form/EntityCloneForm.php
@@ -154,7 +154,6 @@
    * {@inheritdoc}
    */
   public function submitForm(array &$form, FormStateInterface $form_state) {
-
     /** @var \Drupal\entity_clone\EntityClone\EntityCloneInterface $entity_clone_handler */
     $entity_clone_handler = $this->entityTypeManager->getHandler($this->entityTypeDefinition->id(), 'entity_clone');
     if ($this->entityTypeManager->hasHandler($this->entityTypeDefinition->id(), 'entity_clone_form')) {
reverted:
--- b/src/Plugin/Derivative/DynamicLocalTasks.php
+++ a/src/Plugin/Derivative/DynamicLocalTasks.php
@@ -62,12 +62,12 @@
       $has_canonical_path = $entity_type->hasLinkTemplate('canonical');
 
       if ($has_clone_path) {
+        $this->derivatives["$entity_type_id.clone_tab"] = array(
-        $this->derivatives["$entity_type_id.clone_tab"] = [
           'route_name' => "entity.$entity_type_id.clone_form",
           'title' => $this->translationManager->translate('Clone'),
           'base_route' => "entity.$entity_type_id." . ($has_canonical_path ? "canonical" : "edit_form"),
           'weight' => 100,
+        );
-        ];
       }
     }
 
reverted:
--- b/src/Tests/EntityCloneActionTest.php
+++ a/src/Tests/EntityCloneActionTest.php
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Definition of Drupal\entity_clone\Tests\EntityCloneActionTest.
+ */
+
 namespace Drupal\entity_clone\Tests;
 
 use Drupal\Component\Utility\Crypt;
@@ -26,13 +31,11 @@
    */
   protected $permissions = [
     'administer actions',
+    'clone action entity'
-    'clone action entity',
   ];
 
   /**
+   * An administrative user with permission to configure actions settings.
-   * An administrative user.
-   *
-   * With permission to configure actions settings.
    *
    * @var \Drupal\user\UserInterface
    */
@@ -48,9 +51,6 @@
     $this->drupalLogin($this->adminUser);
   }
 
-  /**
-   * Test clone an action entity.
-   */
   public function testActionEntityClone() {
     foreach (\Drupal::service('plugin.manager.action')->getDefinitions() as $id => $definition) {
       if (is_subclass_of($definition['class'], '\Drupal\Core\Plugin\PluginFormInterface') && $definition['label'] == 'Send email') {
@@ -91,3 +91,4 @@
   }
 
 }
+
reverted:
--- b/src/Tests/EntityCloneBlockTest.php
+++ a/src/Tests/EntityCloneBlockTest.php
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Definition of Drupal\entity_clone\Tests\EntityCloneBlockTest.
+ */
+
 namespace Drupal\entity_clone\Tests;
 
 use Drupal\block\Entity\Block;
@@ -26,13 +31,11 @@
    */
   protected $permissions = [
     'administer blocks',
+    'clone block entity'
-    'clone block entity',
   ];
 
   /**
+   * An administrative user with permission to configure blocks settings.
-   * An administrative user.
-   *
-   * With permission to configure blocks settings.
    *
    * @var \Drupal\user\UserInterface
    */
@@ -48,9 +51,6 @@
     $this->drupalLogin($this->adminUser);
   }
 
-  /**
-   * Test clone a block entity.
-   */
   public function testBlockEntityClone() {
     $config = \Drupal::configFactory();
     $block = Block::create([
@@ -79,3 +79,4 @@
   }
 
 }
+
reverted:
--- b/src/Tests/EntityCloneCommentTest.php
+++ a/src/Tests/EntityCloneCommentTest.php
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Definition of Drupal\entity_clone\Tests\EntityCloneCommentTest.
+ */
+
 namespace Drupal\entity_clone\Tests;
 
 use Drupal\comment\Tests\CommentTestBase;
@@ -19,15 +24,7 @@
    *
    * @var array
    */
+  public static $modules = ['entity_clone', 'block', 'comment', 'node', 'history', 'field_ui', 'datetime'];
-  public static $modules = [
-    'entity_clone',
-    'block',
-    'comment',
-    'node',
-    'history',
-    'field_ui',
-    'datetime',
-  ];
 
   /**
    * Permissions to grant admin user.
@@ -45,7 +42,7 @@
     'access comments',
     'access user profiles',
     'access content',
+    'clone comment entity'
-    'clone comment entity',
   ];
 
   /**
@@ -58,9 +55,6 @@
     $this->drupalLogin($this->adminUser);
   }
 
-  /**
-   * Test clone a comment entity.
-   */
   public function testCommentEntityClone() {
     $subject = 'Test comment for clone';
     $body = $this->randomMachineName();
@@ -78,4 +72,4 @@
     $this->assertTrue($comments, 'Test comment cloned found in database.');
   }
 
+}
\ No newline at end of file
-}
reverted:
--- b/src/Tests/EntityCloneContentTest.php
+++ a/src/Tests/EntityCloneContentTest.php
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Definition of Drupal\entity_clone\Tests\EntityCloneContentTest.
+ */
+
 namespace Drupal\entity_clone\Tests;
 
 use Drupal\node\Entity\Node;
@@ -27,7 +32,7 @@
   protected $permissions = [
     'bypass node access',
     'administer nodes',
+    'clone node entity'
-    'clone node entity',
   ];
 
   /**
@@ -47,9 +52,6 @@
     $this->drupalLogin($this->adminUser);
   }
 
-  /**
-   * Test clone a content entity.
-   */
   public function testContentEntityClone() {
     $node_title = $this->randomMachineName(8);
     $node = Node::create([
@@ -69,4 +71,4 @@
     $this->assertTrue($node, 'Test node cloned found in database.');
   }
 
+}
\ No newline at end of file
-}
reverted:
--- b/src/Tests/EntityCloneCustomBlockTest.php
+++ a/src/Tests/EntityCloneCustomBlockTest.php
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Definition of Drupal\entity_clone\Tests\EntityCloneCustomBlockTest.
+ */
+
 namespace Drupal\entity_clone\Tests;
 
 use Drupal\block_content\Tests\BlockContentTestBase;
@@ -36,12 +41,9 @@
     $this->drupalLogin($this->adminUser);
   }
 
-  /**
-   * Test clone a custom block entity.
-   */
   public function testCustomBlockEntityClone() {
 
+    $edit = array();
-    $edit = [];
     $edit['info[0][value]'] = 'Test block ready to clone';
     $edit['body[0][value]'] = $this->randomMachineName(16);
     $this->drupalPostForm('block/add/basic', $edit, t('Save'));
@@ -66,4 +68,4 @@
     $this->assertTrue($block, 'Test Block cloned found in database.');
   }
 
+}
\ No newline at end of file
-}
reverted:
--- b/src/Tests/EntityCloneDateFormatTest.php
+++ a/src/Tests/EntityCloneDateFormatTest.php
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Definition of Drupal\entity_clone\Tests\EntityCloneDateFormatTest.
+ */
+
 namespace Drupal\entity_clone\Tests;
 
 use Drupal\simpletest\WebTestBase;
@@ -25,13 +30,11 @@
    */
   protected $permissions = [
     'clone date_format entity',
+    'administer site configuration'
-    'administer site configuration',
   ];
 
   /**
+   * An administrative user with permission to configure date formats settings.
-   * An administrative user.
-   *
-   * With permission to configure date formats settings.
    *
    * @var \Drupal\user\UserInterface
    */
@@ -47,9 +50,6 @@
     $this->drupalLogin($this->adminUser);
   }
 
-  /**
-   * Test clone a date format entity.
-   */
   public function testDateFormatEntityClone() {
     $edit = [
       'label' => 'Test date format for clone',
@@ -81,3 +81,4 @@
   }
 
 }
+
reverted:
--- b/src/Tests/EntityCloneEntityFormModeTest.php
+++ a/src/Tests/EntityCloneEntityFormModeTest.php
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Definition of Drupal\entity_clone\Tests\EntityCloneEntityFormModeTest.
+ */
+
 namespace Drupal\entity_clone\Tests;
 
 use Drupal\simpletest\WebTestBase;
@@ -24,13 +29,11 @@
    * @var array
    */
   protected $permissions = [
+    'clone entity_form_mode entity'
-    'clone entity_form_mode entity',
   ];
 
   /**
+   * An administrative user with permission to configure entity form modes settings.
-   * An administrative user.
-   *
-   * With permission to configure entity form modes settings.
    *
    * @var \Drupal\user\UserInterface
    */
@@ -46,9 +49,6 @@
     $this->drupalLogin($this->adminUser);
   }
 
-  /**
-   * Test clone a form mode entity.
-   */
   public function testEntityFormModeEntityClone() {
     $entity_form_modes = \Drupal::entityTypeManager()
       ->getStorage('entity_form_mode')
@@ -73,3 +73,4 @@
   }
 
 }
+
reverted:
--- b/src/Tests/EntityCloneEntityViewModeTest.php
+++ a/src/Tests/EntityCloneEntityViewModeTest.php
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Definition of Drupal\entity_clone\Tests\EntityCloneEntityViewModeTest.
+ */
+
 namespace Drupal\entity_clone\Tests;
 
 use Drupal\simpletest\WebTestBase;
@@ -24,13 +29,11 @@
    * @var array
    */
   protected $permissions = [
+    'clone entity_view_mode entity'
-    'clone entity_view_mode entity',
   ];
 
   /**
+   * An administrative user with permission to configure entity view modes settings.
-   * An administrative user.
-   *
-   * With permission to configure entity view modes settings.
    *
    * @var \Drupal\user\UserInterface
    */
@@ -46,9 +49,6 @@
     $this->drupalLogin($this->adminUser);
   }
 
-  /**
-   * Test clone a view mode entity.
-   */
   public function testEntityViewModeEntityClone() {
     $entity_view_modes = \Drupal::entityTypeManager()
       ->getStorage('entity_view_mode')
@@ -73,3 +73,4 @@
   }
 
 }
+
reverted:
--- b/src/Tests/EntityCloneFileTest.php
+++ a/src/Tests/EntityCloneFileTest.php
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Definition of Drupal\entity_clone\Tests\EntityCloneFileTest.
+ */
+
 namespace Drupal\entity_clone\Tests;
 
 use Drupal\file\Entity\File;
@@ -25,13 +30,11 @@
    * @var array
    */
   protected $permissions = [
+    'clone file entity'
-    'clone file entity',
   ];
 
   /**
+   * An administrative user with permission to configure files settings.
-   * An administrative user.
-   *
-   * With permission to configure files settings.
    *
    * @var \Drupal\user\UserInterface
    */
@@ -47,18 +50,15 @@
     $this->drupalLogin($this->adminUser);
   }
 
-  /**
-   * Test clone a file entity.
-   */
   public function testFileEntityClone() {
     /** @var \Drupal\file\FileInterface $file */
+    $file = File::create(array(
-    $file = File::create([
       'uid' => 1,
       'filename' => 'druplicon.txt',
       'uri' => 'public://druplicon.txt',
       'filemime' => 'text/plain',
       'status' => FILE_STATUS_PERMANENT,
+    ));
-    ]);
     file_put_contents($file->getFileUri(), 'hello world');
     $file->save();
 
@@ -76,3 +76,4 @@
   }
 
 }
+
reverted:
--- b/src/Tests/EntityCloneFilterFormatTest.php
+++ a/src/Tests/EntityCloneFilterFormatTest.php
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Definition of Drupal\entity_clone\Tests\EntityCloneFilterFormatTest.
+ */
+
 namespace Drupal\entity_clone\Tests;
 
 use Drupal\simpletest\WebTestBase;
@@ -25,13 +30,11 @@
    */
   protected $permissions = [
     'clone filter_format entity',
+    'administer filters'
-    'administer filters',
   ];
 
   /**
+   * An administrative user with permission to configure filter formats settings.
-   * An administrative user.
-   *
-   * With permission to configure filters settings.
    *
    * @var \Drupal\user\UserInterface
    */
@@ -47,9 +50,6 @@
     $this->drupalLogin($this->adminUser);
   }
 
-  /**
-   * Test clone a filter format entity.
-   */
   public function testFilterFormatEntityClone() {
     $edit = [
       'name' => 'Test filter format for clone',
@@ -80,3 +80,4 @@
   }
 
 }
+
reverted:
--- b/src/Tests/EntityCloneImageStyleTest.php
+++ a/src/Tests/EntityCloneImageStyleTest.php
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Definition of Drupal\entity_clone\Tests\EntityCloneImageStyleTest.
+ */
+
 namespace Drupal\entity_clone\Tests;
 
 use Drupal\simpletest\WebTestBase;
@@ -25,13 +30,11 @@
    */
   protected $permissions = [
     'clone image_style entity',
+    'administer image styles'
-    'administer image styles',
   ];
 
   /**
+   * An administrative user with permission to configure image styles settings.
-   * An administrative user.
-   *
-   * With permission to configure image styles settings.
    *
    * @var \Drupal\user\UserInterface
    */
@@ -47,9 +50,6 @@
     $this->drupalLogin($this->adminUser);
   }
 
-  /**
-   * Test clone an image style entity.
-   */
   public function testImageStyleEntityClone() {
     $edit = [
       'label' => 'Test image style for clone',
@@ -80,3 +80,4 @@
   }
 
 }
+
reverted:
--- b/src/Tests/EntityCloneLanguageTest.php
+++ a/src/Tests/EntityCloneLanguageTest.php
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Definition of Drupal\entity_clone\Tests\EntityCloneLanguageTest.
+ */
+
 namespace Drupal\entity_clone\Tests;
 
 use Drupal\simpletest\WebTestBase;
@@ -25,13 +30,11 @@
    */
   protected $permissions = [
     'administer languages',
+    'clone configurable_language entity'
-    'clone configurable_language entity',
   ];
 
   /**
+   * An administrative user with permission to configure languages settings.
-   * An administrative user.
-   *
-   * With permission to configure languages settings.
    *
    * @var \Drupal\user\UserInterface
    */
@@ -47,12 +50,9 @@
     $this->drupalLogin($this->adminUser);
   }
 
-  /**
-   * Test clone a language entity.
-   */
   public function testLanguageEntityClone() {
     $edit = [
+      'predefined_langcode' => 'fr'
-      'predefined_langcode' => 'fr',
     ];
     $this->drupalPostForm("/admin/config/regional/language/add", $edit, t('Add language'));
 
@@ -79,3 +79,4 @@
   }
 
 }
+
reverted:
--- b/src/Tests/EntityCloneMenuTest.php
+++ a/src/Tests/EntityCloneMenuTest.php
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Definition of Drupal\entity_clone\Tests\EntityCloneMenuTest.
+ */
+
 namespace Drupal\entity_clone\Tests;
 
 use Drupal\simpletest\WebTestBase;
@@ -25,13 +30,11 @@
    */
   protected $permissions = [
     'clone menu entity',
+    'administer menu'
-    'administer menu',
   ];
 
   /**
+   * An administrative user with permission to configure menus settings.
-   * An administrative user.
-   *
-   * With permission to configure menus settings.
    *
    * @var \Drupal\user\UserInterface
    */
@@ -47,9 +50,6 @@
     $this->drupalLogin($this->adminUser);
   }
 
-  /**
-   * Test clone a menu entity.
-   */
   public function testMenuEntityClone() {
 
     $menus = \Drupal::entityTypeManager()
@@ -75,3 +75,4 @@
   }
 
 }
+
reverted:
--- b/src/Tests/EntityCloneResponsiveImageStyleTest.php
+++ a/src/Tests/EntityCloneResponsiveImageStyleTest.php
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Definition of Drupal\entity_clone\Tests\EntityCloneResponsiveImageStyleTest.
+ */
+
 namespace Drupal\entity_clone\Tests;
 
 use Drupal\simpletest\WebTestBase;
@@ -25,13 +30,11 @@
    */
   protected $permissions = [
     'clone responsive_image_style entity',
+    'administer responsive images'
-    'administer responsive images',
   ];
 
   /**
+   * An administrative user with permission to configure image styles settings.
-   * An administrative user.
-   *
-   * With permission to configure image styles settings.
    *
    * @var \Drupal\user\UserInterface
    */
@@ -47,9 +50,6 @@
     $this->drupalLogin($this->adminUser);
   }
 
-  /**
-   * Test clone a responsive image style entity.
-   */
   public function testResponsiveImageStyleEntityClone() {
     $edit = [
       'label' => 'Test responsive image style for clone',
@@ -82,3 +82,4 @@
   }
 
 }
+
reverted:
--- b/src/Tests/EntityCloneRoleTest.php
+++ a/src/Tests/EntityCloneRoleTest.php
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Definition of Drupal\entity_clone\Tests\EntityCloneRoleTest.
+ */
+
 namespace Drupal\entity_clone\Tests;
 
 use Drupal\simpletest\WebTestBase;
@@ -25,13 +30,11 @@
    */
   protected $permissions = [
     'administer permissions',
+    'clone user_role entity'
-    'clone user_role entity',
   ];
 
   /**
+   * An administrative user with permission to configure roles settings.
-   * An administrative user.
-   *
-   * With permission to configure roles settings.
    *
    * @var \Drupal\user\UserInterface
    */
@@ -47,9 +50,6 @@
     $this->drupalLogin($this->adminUser);
   }
 
-  /**
-   * Test clone a role entity.
-   */
   public function testRoleEntityClone() {
     $edit = [
       'label' => 'Test role for clone',
@@ -80,3 +80,4 @@
   }
 
 }
+
reverted:
--- b/src/Tests/EntityCloneSearchPageTest.php
+++ a/src/Tests/EntityCloneSearchPageTest.php
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Definition of Drupal\entity_clone\Tests\EntityCloneSearchPageTest.
+ */
+
 namespace Drupal\entity_clone\Tests;
 
 use Drupal\simpletest\WebTestBase;
@@ -25,13 +30,11 @@
    */
   protected $permissions = [
     'administer search',
+    'clone search_page entity'
-    'clone search_page entity',
   ];
 
   /**
+   * An administrative user with permission to configure search pages settings.
-   * An administrative user.
-   *
-   * With permission to configure search pages settings.
    *
    * @var \Drupal\user\UserInterface
    */
@@ -47,9 +50,6 @@
     $this->drupalLogin($this->adminUser);
   }
 
-  /**
-   * Test clone a search page entity.
-   */
   public function testSearchPageEntityClone() {
     $edit = [
       'label' => 'Test search page for clone',
@@ -81,3 +81,4 @@
   }
 
 }
+
reverted:
--- b/src/Tests/EntityCloneShortcutSetTest.php
+++ a/src/Tests/EntityCloneShortcutSetTest.php
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Definition of Drupal\entity_clone\Tests\EntityCloneShortcutSetTest.
+ */
+
 namespace Drupal\entity_clone\Tests;
 
 use Drupal\simpletest\WebTestBase;
@@ -24,13 +29,11 @@
    * @var array
    */
   protected $permissions = [
+    'clone shortcut_set entity'
-    'clone shortcut_set entity',
   ];
 
   /**
+   * An administrative user with permission to configure shortcuts settings.
-   * An administrative user.
-   *
-   * With permission to configure shortcuts settings.
    *
    * @var \Drupal\user\UserInterface
    */
@@ -46,9 +49,6 @@
     $this->drupalLogin($this->adminUser);
   }
 
-  /**
-   * Test clone a shortcut entity.
-   */
   public function testShortcutSetEntityClone() {
     $edit = [
       'id' => 'test_shortcut_set_cloned',
@@ -66,3 +66,4 @@
   }
 
 }
+
reverted:
--- b/src/Tests/EntityCloneUserTest.php
+++ a/src/Tests/EntityCloneUserTest.php
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Definition of Drupal\entity_clone\Tests\EntityCloneUserTest.
+ */
+
 namespace Drupal\entity_clone\Tests;
 
 use Drupal\simpletest\WebTestBase;
@@ -24,13 +29,11 @@
    * @var array
    */
   protected $permissions = [
+    'clone user entity'
-    'clone user entity',
   ];
 
   /**
+   * An administrative user with permission to configure users settings.
-   * An administrative user.
-   *
-   * With permission to configure users settings.
    *
    * @var \Drupal\user\UserInterface
    */
@@ -46,9 +49,6 @@
     $this->drupalLogin($this->adminUser);
   }
 
-  /**
-   * Test clone a user entity.
-   */
   public function testUserEntityClone() {
     $this->drupalPostForm('entity_clone/user/' . $this->adminUser->id(), [], t('Clone'));
 
@@ -62,3 +62,4 @@
   }
 
 }
+
reverted:
--- b/src/Tests/EntityCloneViewTest.php
+++ a/src/Tests/EntityCloneViewTest.php
@@ -1,5 +1,10 @@
 <?php
 
+/**
+ * @file
+ * Definition of Drupal\entity_clone\Tests\EntityCloneViewTest.
+ */
+
 namespace Drupal\entity_clone\Tests;
 
 use Drupal\simpletest\WebTestBase;
@@ -24,13 +29,11 @@
    * @var array
    */
   protected $permissions = [
+    'clone view entity'
-    'clone view entity',
   ];
 
   /**
+   * An administrative user with permission to configure views settings.
-   * An administrative user.
-   *
-   * With permission to configure views settings.
    *
    * @var \Drupal\user\UserInterface
    */
@@ -46,9 +49,6 @@
     $this->drupalLogin($this->adminUser);
   }
 
-  /**
-   * Test clone a view entity.
-   */
   public function testViewEntityClone() {
     $edit = [
       'id' => 'test_view_cloned',
@@ -66,3 +66,4 @@
   }
 
 }
+
