You are here

public function FlagConfirmFormBase::getFlag in Flag 8.4

Returns the confirm form's flag entity.

File

src/Form/FlagConfirmFormBase.php, line 52

Class

FlagConfirmFormBase
Provides methods common to the flag and unflag confirm forms.

Namespace

Drupal\flag\Form

Code

public function getFlag() {
  return $this->flag;
}