You are here

public function BlockStyleBase::formElements in Block Style Plugins 8

Returns an array of field elements.

Deprecated

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

1 call to BlockStyleBase::formElements()
BlockStyleBase::buildConfigurationForm in src/Plugin/BlockStyleBase.php
Form constructor.

File

src/Plugin/BlockStyleBase.php, line 181

Class

BlockStyleBase
Base class for Block style plugins.

Namespace

Drupal\block_style_plugins\Plugin

Code

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