You are here

public function SubFormState::isCached in Authorization 8

Determines if the form should be cached.

Return value

bool TRUE if the form should be cached, FALSE otherwise.

Overrides FormStateInterface::isCached

File

src/Form/SubFormState.php, line 485

Class

SubFormState
Represents the form state of a sub-form.

Namespace

Drupal\authorization\Form

Code

public function isCached() {
  return $this->mainFormState
    ->isCached();
}