You are here

public function GutenbergConfigurableBlockProcessorInterface::provideSettings in Gutenberg 8.2

Returns a block processor's settings array.

It shouldn't modify the $form array.

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 processor. The form values should match $this->defaultConfiguration().

1 method overrides GutenbergConfigurableBlockProcessorInterface::provideSettings()
ConfigurableProcessorBase::provideSettings in src/BlockProcessor/ConfigurableProcessorBase.php
Returns a block processor's settings array.

File

src/BlockProcessor/GutenbergConfigurableBlockProcessorInterface.php, line 26

Class

GutenbergConfigurableBlockProcessorInterface
Defines an interface for configurable Gutenberg block processors.

Namespace

Drupal\gutenberg\BlockProcessor

Code

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