You are here

public function JquerySocialStreamBlock::blockForm in jQuery social stream 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Block/JquerySocialStreamBlock.php \Drupal\jquery_social_stream\Plugin\Block\JquerySocialStreamBlock::blockForm()

Overrides BlockPluginTrait::blockForm

File

src/Plugin/Block/JquerySocialStreamBlock.php, line 33
Contains \Drupal\jquery_social_stream\Plugin\Block\JquerySocialStreamBlock.

Class

JquerySocialStreamBlock
Provides the JquerySocialStream block.

Namespace

Drupal\jquery_social_stream\Plugin\Block

Code

public function blockForm($form, FormStateInterface $form_state) {
  if (empty($this->configuration['id'])) {
    $this->configuration['id'] = 'block-jquery-social-stream';
  }
  return $form + jquery_social_stream_settings_form($this->configuration);
}