You are here

public function ShortcodeInterface::settingsForm in Shortcode 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/ShortcodeInterface.php \Drupal\shortcode\Plugin\ShortcodeInterface::settingsForm()

Generates a shortcode's settings form.

Parameters

array $form: A minimally pre-populated 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.

1 method overrides ShortcodeInterface::settingsForm()
ShortcodeBase::settingsForm in src/Plugin/ShortcodeBase.php
Generates a shortcode's settings form.

File

src/Plugin/ShortcodeInterface.php, line 50

Class

ShortcodeInterface
Defines the interface for text processing shortcode plugins.

Namespace

Drupal\shortcode\Plugin

Code

public function settingsForm(array $form, FormStateInterface $form_state);