public function ReadOnlyFormEvent::__construct in Configuration Read-only mode 8
Constructs a new ReadOnlyFormEvent object.
Parameters
\Drupal\Core\Form\FormStateInterface $form_state: The form state.
File
- src/
ReadOnlyFormEvent.php, line 35
Class
- ReadOnlyFormEvent
- Readonly form event.
Namespace
Drupal\config_readonlyCode
public function __construct(FormStateInterface $form_state) {
$this->readOnlyForm = FALSE;
$this->formState = $form_state;
}