interface AdminFormSettingsInterface in Field Permissions 8
Same name and namespace in other branches
- 8.2 src/Plugin/AdminFormSettingsInterface.php \Drupal\field_permissions\Plugin\AdminFormSettingsInterface
Indicates that the plugin implementing this has field config form settings.
Hierarchy
- interface \Drupal\field_permissions\Plugin\AdminFormSettingsInterface
Expanded class hierarchy of AdminFormSettingsInterface
All classes that implement AdminFormSettingsInterface
2 files declare their use of AdminFormSettingsInterface
- CustomAccess.php in src/Plugin/ FieldPermissionType/ CustomAccess.php 
- field_permissions.module in ./field_permissions.module 
- Contains field_permissions.module.
File
- src/Plugin/ AdminFormSettingsInterface.php, line 11 
Namespace
Drupal\field_permissions\PluginView source
interface AdminFormSettingsInterface {
  /**
   * Build or alter the field admin form.
   *
   * @param array $form
   *   The form array.
   * @param \Drupal\Core\Form\FormStateInterface $form_state
   *   The form state object.
   * @param \Drupal\user\RoleStorageInterface $role_storage
   *   The user role storage.
   */
  public function buildAdminForm(array &$form, FormStateInterface $form_state, RoleStorageInterface $role_storage);
  /**
   * Allows the plugin to react to the field settings form submission.
   *
   * @param array $form
   *   The form array.
   * @param \Drupal\Core\Form\FormStateInterface $form_state
   *   The form state object.
   * @param \Drupal\user\RoleStorageInterface $role_storage
   *   The user role storage.
   */
  public function submitAdminForm(array &$form, FormStateInterface $form_state, RoleStorageInterface $role_storage);
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| AdminFormSettingsInterface:: | public | function | Build or alter the field admin form. | 1 | 
| AdminFormSettingsInterface:: | public | function | Allows the plugin to react to the field settings form submission. | 1 | 
