You are here

public function SubFormState::hasFileElement in Authorization 8

Returns whether this form has a file element.

Return value

bool Whether this form has a file element.

Overrides FormStateInterface::hasFileElement

File

src/Form/SubFormState.php, line 539

Class

SubFormState
Represents the form state of a sub-form.

Namespace

Drupal\authorization\Form

Code

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