public function ParagraphsGridConfigForm::__construct in Paragraphs grid 8
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The great and only Entity-Type-Manager.
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The great and only EntityType Manager.
Overrides ConfigFormBase::__construct
File
- src/
Form/ ParagraphsGridConfigForm.php, line 48
Class
- ParagraphsGridConfigForm
- Class ParagraphsGridConfigForm.
Namespace
Drupal\paragraphs_grid\FormCode
public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, EntityFieldManagerInterface $entity_field_manager) {
parent::__construct($config_factory);
$this->entityTypeManager = $entity_type_manager;
$this->entityFieldManager = $entity_field_manager;
}