You are here

public function EmptyFieldPluginInterface::settingsForm in Empty fields 8

Returns the configuration form elements specific to this plugin.

Plugins that need to add form elements to the configuration form should implement this method.

Parameters

array $form: The form definition array for the block configuration form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Return value

array The renderable form array representing the entire configuration form.

See also

\Drupal\Core\Field\FormatterInterface::settingsForm()

1 method overrides EmptyFieldPluginInterface::settingsForm()
EmptyFieldPluginBase::settingsForm in src/EmptyFieldPluginBase.php
Returns the configuration form elements specific to this plugin.

File

src/EmptyFieldPluginInterface.php, line 47

Class

EmptyFieldPluginInterface
Defines an interface for empty fields.

Namespace

Drupal\empty_fields

Code

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