You are here

public function ShortcodeCorrector::settingsForm in Shortcode 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/Filter/ShortcodeCorrector.php \Drupal\shortcode\Plugin\Filter\ShortcodeCorrector::settingsForm()

Generates a filter's settings form.

Parameters

array $form: A minimally prepopulated form array.

\Drupal\Core\Form\FormStateInterface $form_state: The state of the (entire) configuration form.

Return value

array The $form array with additional form elements for the settings of this filter. The submitted form values should match $this->settings.

Overrides FilterBase::settingsForm

File

src/Plugin/Filter/ShortcodeCorrector.php, line 25

Class

ShortcodeCorrector
Filter that corrects html added by wysiwyg editors around shortcodes.

Namespace

Drupal\shortcode\Plugin\Filter

Code

public function settingsForm(array $form, FormStateInterface $form_state) {
  return [];
}