public function WebformAccessGroupForm::__construct in Webform 8.5
Constructs a WebformAccessGroupForm.
Parameters
\Drupal\Core\Database\Connection $database: The database.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager.
\Drupal\webform\Plugin\WebformElementManagerInterface $element_manager: The webform element manager.
\Drupal\webform\WebformEntityReferenceManagerInterface $webform_entity_reference_manager: The webform entity reference manager.
\Drupal\webform\WebformAccessRulesManagerInterface $webform_access_rules_manager: The webform access rules manager.
File
- modules/
webform_access/ src/ WebformAccessGroupForm.php, line 70
Class
- WebformAccessGroupForm
- Provides a form to define a webform access group.
Namespace
Drupal\webform_accessCode
public function __construct(Connection $database, EntityTypeManagerInterface $entity_type_manager, WebformElementManagerInterface $element_manager, WebformEntityReferenceManagerInterface $webform_entity_reference_manager, WebformAccessRulesManagerInterface $webform_access_rules_manager) {
$this->database = $database;
$this->entityTypeManager = $entity_type_manager;
$this->elementManager = $element_manager;
$this->webformEntityReferenceManager = $webform_entity_reference_manager;
$this->webformAccessRulesManager = $webform_access_rules_manager;
}