You are here

public function BlockStyleBase::formAlter in Block Style Plugins 8

Overrides BlockStyleInterface::formAlter

Deprecated

in 8.x-1.4 and will be removed before 8.x-2.x. Instead, you should just use buildConfigurationForm().

1 call to BlockStyleBase::formAlter()
BlockStyleBase::prepareForm in src/Plugin/BlockStyleBase.php
Returns the configuration form elements specific to a block configuration.

File

src/Plugin/BlockStyleBase.php, line 191

Class

BlockStyleBase
Base class for Block style plugins.

Namespace

Drupal\block_style_plugins\Plugin

Code

public function formAlter(array $form, FormStateInterface $form_state) {
  @trigger_error('::formAlter() is deprecated in 8.x-1.4 and will be removed before 8.x-2.x. Instead, you should just use buildConfigurationForm(). See https://www.drupal.org/project/block_style_plugins/issues/3020109.', E_USER_DEPRECATED);
  return $form;
}