You are here

public function EmptyFieldPluginBase::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.

Overrides EmptyFieldPluginInterface::settingsForm

See also

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

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

File

src/EmptyFieldPluginBase.php, line 28

Class

EmptyFieldPluginBase
Defines a base empty field item implementation.

Namespace

Drupal\empty_fields

Code

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