Generates a filter's settings form.
array $form: A minimally prepopulated form array.
array $form_state: The state of the (entire) configuration form.
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
public function settingsForm(array $form, array &$form_state) {
$form['filter_url_length'] = array(
'#type' => 'number',
'#title' => t('Maximum link text length'),
'#default_value' => $this->settings['filter_url_length'],
'#min' => 1,
'#field_suffix' => t('characters'),
'#description' => t('URLs longer than this number of characters will be truncated to prevent long strings that break formatting. The link itself will be retained; just the text portion of the link will be truncated.'),
);
return $form;
}