A Pen created on CodePen.io. Original URL: https://codepen.io/featuriz/pen/yLzOxbQ.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Drupal 9 Custom Moduel Form file field with upload, validate and move and save. | |
<?php | |
namespace Drupal\careerjobs\Form; | |
use Drupal\Core\Database\Database; | |
use Drupal\Core\Entity\EntityStorageException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: echo %HOMEPATH% | |
FOR %%y IN ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") DO ( | |
FOR /D %%z IN ("C:%HOMEPATH%\AppData\Roaming\JetBrains\%%y*") DO ( | |
rmdir "%%z\eval" /s /q | |
del "%%z\options\other.xml" | |
) | |
) | |
:: cd "C:%HOMEPATH%\AppData\Roaming\JetBrains\IntelliJIdea*\" | |
:: rmdir "eval" /s /q |