interface ConfigurableFormEnhancerInterface in Flexiform 8
Interface for configurable form enhancers.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\flexiform\FormEnhancer\FormEnhancerInterface
- interface \Drupal\flexiform\FormEnhancer\ConfigurableFormEnhancerInterface
- interface \Drupal\flexiform\FormEnhancer\FormEnhancerInterface
Expanded class hierarchy of ConfigurableFormEnhancerInterface
All classes that implement ConfigurableFormEnhancerInterface
2 files declare their use of ConfigurableFormEnhancerInterface
File
- src/
FormEnhancer/ ConfigurableFormEnhancerInterface.php, line 10
Namespace
Drupal\flexiform\FormEnhancerView source
interface ConfigurableFormEnhancerInterface extends FormEnhancerInterface {
/**
* The configuration form.
*
* @param array $form
* The form array.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The form state.
*
* @return array
* The form with any additions.
*/
public function configurationForm(array $form, FormStateInterface $form_state);
/**
* The configuration form validation callback.
*
* @param array $form
* The form array.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The form state.
*/
public function configurationFormValidate(array $form, FormStateInterface $form_state);
/**
* The configuration form submit callback.
*
* @param array $form
* The form array.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The form state.
*/
public function configurationFormSubmit(array $form, FormStateInterface $form_state);
/**
* Get the configuration.
*
* @return array
* The configuration for the enhancer.
*/
public function getConfiguration();
/**
* Set the configuration for the enhancer.
*
* @param array $configuration
* The configuration array.
*
* @return self
* The form enhancer.
*/
public function setConfiguration(array $configuration);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurableFormEnhancerInterface:: |
public | function | The configuration form. | 6 |
ConfigurableFormEnhancerInterface:: |
public | function | The configuration form submit callback. | 1 |
ConfigurableFormEnhancerInterface:: |
public | function | The configuration form validation callback. | 1 |
ConfigurableFormEnhancerInterface:: |
public | function | Get the configuration. | 1 |
ConfigurableFormEnhancerInterface:: |
public | function | Set the configuration for the enhancer. | 1 |
FormEnhancerInterface:: |
public | function | Whether this enhancer applies to a particular event. | 1 |
FormEnhancerInterface:: |
public | function | Set the form display object. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |