public function TagFormBase::__construct in Extensible BBCode 8.3
Same name and namespace in other branches
- 4.0.x src/Form/TagFormBase.php \Drupal\xbbcode\Form\TagFormBase::__construct()
TagFormBase constructor.
Parameters
\Drupal\Core\Template\TwigEnvironment $twig: The twig service.
1 call to TagFormBase::__construct()
- TagForm::__construct in src/
Form/ TagForm.php - Constructs a new TagForm.
1 method overrides TagFormBase::__construct()
- TagForm::__construct in src/
Form/ TagForm.php - Constructs a new TagForm.
File
- src/
Form/ TagFormBase.php, line 41
Class
- TagFormBase
- Base form for custom tags.
Namespace
Drupal\xbbcode\FormCode
public function __construct(TwigEnvironment $twig) {
$this->twig = $twig;
}