You are here

public function FlagTypeBase::buildConfigurationForm in Flag 8.4

Provides a form for this action link plugin settings.

The form provided by this method is displayed by the FlagAddForm when creating or editing the Flag. Derived classes should override this.

Parameters

array $form: The form array.

FormStateInterface $form_state: The form state.

Return value

array The form array

Overrides PluginFormInterface::buildConfigurationForm

See also

\Drupal\flag\Form\FlagAddForm

1 method overrides FlagTypeBase::buildConfigurationForm()
EntityFlagType::buildConfigurationForm in src/Plugin/Flag/EntityFlagType.php
Provides a form for this action link plugin settings.

File

src/FlagType/FlagTypeBase.php, line 98

Class

FlagTypeBase
Provides a base class for flag type plugins.

Namespace

Drupal\flag\FlagType

Code

public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
  return $form;
}