You are here

interface MappingPluginFormInterface in Feeds 8.3

Interface for Feeds plugins that hook into the mapping form.

Hierarchy

Expanded class hierarchy of MappingPluginFormInterface

All classes that implement MappingPluginFormInterface

4 files declare their use of MappingPluginFormInterface
EntityProcessorBase.php in src/Feeds/Processor/EntityProcessorBase.php
MappingForm.php in src/Form/MappingForm.php
ParserBase.php in src/Feeds/Parser/ParserBase.php
ParserWithMappingForm.php in tests/modules/feeds_test_plugin/src/Feeds/Parser/ParserWithMappingForm.php

File

src/Plugin/Type/MappingPluginFormInterface.php, line 10

Namespace

Drupal\feeds\Plugin\Type
View source
interface MappingPluginFormInterface {

  /**
   * Alter mapping form.
   *
   * @param array $form
   *   The mapping form definition.
   * @param \Drupal\Core\Form\FormStateInterface $form_state
   *   The current state of the mapping form.
   */
  public function mappingFormAlter(array &$form, FormStateInterface $form_state);

  /**
   * Validate handler for the mapping form.
   *
   * @param array $form
   *   The mapping form definition.
   * @param \Drupal\Core\Form\FormStateInterface $form_state
   *   The current state of the mapping form.
   */
  public function mappingFormValidate(array &$form, FormStateInterface $form_state);

  /**
   * Submit handler for the mapping form.
   *
   * @param array $form
   *   The mapping form definition.
   * @param \Drupal\Core\Form\FormStateInterface $form_state
   *   The current state of the mapping form.
   */
  public function mappingFormSubmit(array &$form, FormStateInterface $form_state);

}

Members

Namesort descending Modifiers Type Description Overrides
MappingPluginFormInterface::mappingFormAlter public function Alter mapping form. 3
MappingPluginFormInterface::mappingFormSubmit public function Submit handler for the mapping form. 3
MappingPluginFormInterface::mappingFormValidate public function Validate handler for the mapping form. 3