public function CustomTextComponent::__construct in Flexiform 8
Overrides FormComponentBase::__construct
File
- src/
Plugin/ FormComponentType/ CustomTextComponent.php, line 41
Class
- CustomTextComponent
- Component class for field widgets.
Namespace
Drupal\flexiform\Plugin\FormComponentTypeCode
public function __construct($name, $options, FlexiformEntityFormDisplay $form_display, Token $token) {
parent::__construct($name, $options, $form_display);
$this->token = $token;
}