custom/plugins/DkcBasicDataEntryFields/src/DkcBasicDataEntryFields.php line 11

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace DkcBasicDataEntryFields;
  3. use Shopware\Core\Framework\Plugin;
  4. use Shopware\Core\Framework\Plugin\Context\InstallContext;
  5. use PDO;
  6. use PDOException;
  7. class DkcBasicDataEntryFields extends Plugin
  8. {
  9.     public function install(InstallContext $installContext): void
  10.     {
  11.         
  12.     }
  13.     public static function dkcCustomFields($fieldName) {
  14.         error_log("Aufruf von dkcCustomFields mit: $fieldName");
  15.         return "Testwert für $fieldName";
  16.     }
  17.     
  18.     
  19. }