You are here

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

Check whether the form is read-only.

Return value

bool Whether the form is read-only.

File

src/ReadOnlyFormEvent.php, line 63

Class

ReadOnlyFormEvent
Readonly form event.

Namespace

Drupal\config_readonly

Code

public function isFormReadOnly() {
  return $this->readOnlyForm;
}