You are here

public function ReadOnlyFormEvent::markFormReadOnly in Configuration Read-only mode 8

Mark the form as read-only.

File

src/ReadOnlyFormEvent.php, line 53

Class

ReadOnlyFormEvent
Readonly form event.

Namespace

Drupal\config_readonly

Code

public function markFormReadOnly() {
  $this->readOnlyForm = TRUE;
}