Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@maestrojed
Created October 21, 2019 20:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maestrojed/c586572f43df230f34e0a4476687e8cd to your computer and use it in GitHub Desktop.
Save maestrojed/c586572f43df230f34e0a4476687e8cd to your computer and use it in GitHub Desktop.
PHP Fatal error: Class 'Drupal\Core\Form\formBase' not found in modules/custom/my_module/src/Form/APIConfigForm.php on line 13
<?php
namespace Drupal\my_module\Form;
use Drupal\Core\Form\formBase;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Component\Utility\UrlHelper;
/**
* Defines a form that configures the API configuration for a plansite.
*/
class APIConfigForm extends formBase {
}
@anadhi-kalyani
Copy link

PHP Fatal error: Class 'Drupal\Core\Form\formBase' not found in modules/custom/my_module/src/Form/APIConfigForm.php on line 13 sol pls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment