diff vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/style-plugin.twig @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents c75dbcec494b
children
line wrap: on
line diff
--- a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/style-plugin.twig	Thu Feb 28 13:11:55 2019 +0000
+++ b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin/views/style-plugin.twig	Thu May 09 15:34:47 2019 +0100
@@ -2,7 +2,9 @@
 
 namespace Drupal\{{ machine_name }}\Plugin\views\style;
 
+{% if configurable %}
 use Drupal\Core\Form\FormStateInterface;
+{% endif %}
 use Drupal\views\Plugin\views\style\StylePluginBase;
 
 /**
@@ -28,6 +30,7 @@
    */
   protected $usesRowClass = TRUE;
 
+{% if configurable %}
   /**
    * {@inheritdoc}
    */
@@ -50,4 +53,5 @@
     ];
   }
 
+{% endif %}
 }