diff -u b/README.md b/README.md --- b/README.md +++ b/README.md @@ -26,8 +26,8 @@ go to /admin/config/clear-field/settings -Steps +Steps 1. Enable Clear Field by tick marking. 2. Select Type of Button. Is it ? - a. Simple X + a. Simple X b. Fontawesome for all generic fields -3. You can add text and tooltip which you need to add along with icon +3. You can add text and tooltip which you need to add along with icon or keep it empty if not needed. diff -u b/clear_field.module b/clear_field.module --- b/clear_field.module +++ b/clear_field.module @@ -6,6 +6,7 @@ */ use Drupal\Core\Form\FormStateInterface; +use Drupal\Core\Routing\RouteMatchInterface; /** * Implements hook_help().