You are here

public function BlockStyleInterface::formAlter in Block Style Plugins 8

Returns a customized form array with new form settings for styles.

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.

1 method overrides BlockStyleInterface::formAlter()
BlockStyleBase::formAlter in src/Plugin/BlockStyleBase.php

File

src/Plugin/BlockStyleInterface.php, line 42

Class

BlockStyleInterface
Defines an interface for Block style plugins.

Namespace

Drupal\block_style_plugins\Plugin

Code

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