interface FormatterExtrasInterface in Custom Formatters 8.3
Interface FormatterInterface.
Hierarchy
- interface \Drupal\custom_formatters\FormatterExtrasInterface
Expanded class hierarchy of FormatterExtrasInterface
All classes that implement FormatterExtrasInterface
File
- src/
FormatterExtrasInterface.php, line 10
Namespace
Drupal\custom_formattersView source
interface FormatterExtrasInterface {
/**
* Settings form callback.
*
* @return array
* The form API array.
*/
public function settingsForm();
/**
* Save callback for settings form.
*
* @param array $form
* The submmitted formatter form.
* @param FormStateInterface $form_state
* The submitted formatter form state object.
*/
public function settingsSave(array $form, FormStateInterface $form_state);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FormatterExtrasInterface:: |
public | function | Settings form callback. | 1 |
FormatterExtrasInterface:: |
public | function | Save callback for settings form. | 1 |