public function YamlFormAddonsController::__construct in YAML Form 8
Constructs a new YamlFormSubmissionController object.
Parameters
\Drupal\yamlform\YamlFormAddonsManagerInterface $addons: The add-ons manager.
File
- src/
Controller/ YamlFormAddonsController.php, line 28
Class
- YamlFormAddonsController
- Provides route responses for form add-on.
Namespace
Drupal\yamlform\ControllerCode
public function __construct(YamlFormAddonsManagerInterface $addons) {
$this->addons = $addons;
}