public function FBLikeboxBlock::blockForm in Facebook Page Plugin 8
Same name and namespace in other branches
- 8.2 src/Plugin/Block/FBLikeboxBlock.php \Drupal\fb_likebox\Plugin\Block\FBLikeboxBlock::blockForm()
Overrides BlockPluginTrait::blockForm
File
- src/
Plugin/ Block/ FBLikeboxBlock.php, line 37 - Contains \Drupal\fb_likebox\Plugin\Block\FBLikeboxBlock.
Class
- FBLikeboxBlock
- Provides a configurable block with Facebook Likebox's plugin.
Namespace
Drupal\fb_likebox\Plugin\BlockCode
public function blockForm($form, FormStateInterface $form_state) {
$form['block_example_string_text'] = array(
'#type' => 'textfield',
'#title' => t('Block contents'),
'#size' => 60,
'#description' => t('This text will appear in the example block.'),
'#default_value' => $this->configuration['block_example_string'],
);
return $form;
}