You are here

interface AvatarKitFormAlterInterface in Avatar Kit 8.2

Interface for Drupal form alters.

Hierarchy

Expanded class hierarchy of AvatarKitFormAlterInterface

All classes that implement AvatarKitFormAlterInterface

File

src/AvatarKitFormAlterInterface.php, line 10

Namespace

Drupal\avatars
View source
interface AvatarKitFormAlterInterface {

  /**
   * Implements hook_form_FORM_ID_alter().
   *
   * FORM_ID: 'field_config_edit_form'.
   *
   * @param array $form
   *   The form.
   * @param \Drupal\Core\Form\FormStateInterface $form_state
   *   The form state.
   *
   * @see \avatars_form_field_config_edit_form_alter()
   */
  public function fieldConfigEditForm(array &$form, FormStateInterface $form_state) : void;

  /**
   * Submission handler for field config edit form alter.
   *
   * @param array $form
   *   The form.
   * @param \Drupal\Core\Form\FormStateInterface $form_state
   *   The form state.
   *
   * @see \Drupal\avatars\AvatarKitFormAlterInterface::fieldConfigEditForm
   */
  public function fieldConfigEditFormSubmit(array $form, FormStateInterface $form_state) : void;

}

Members

Namesort descending Modifiers Type Description Overrides
AvatarKitFormAlterInterface::fieldConfigEditForm public function Implements hook_form_FORM_ID_alter(). 1
AvatarKitFormAlterInterface::fieldConfigEditFormSubmit public function Submission handler for field config edit form alter. 1