interface AvatarKitFormAlterInterface in Avatar Kit 8.2
Interface for Drupal form alters.
Hierarchy
- interface \Drupal\avatars\AvatarKitFormAlterInterface
Expanded class hierarchy of AvatarKitFormAlterInterface
All classes that implement AvatarKitFormAlterInterface
File
- src/
AvatarKitFormAlterInterface.php, line 10
Namespace
Drupal\avatarsView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AvatarKitFormAlterInterface:: |
public | function | Implements hook_form_FORM_ID_alter(). | 1 |
AvatarKitFormAlterInterface:: |
public | function | Submission handler for field config edit form alter. | 1 |