You are here

public function elFinderBlock::blockForm in elFinder file manager 8.2

Overrides BlockPluginTrait::blockForm

File

src/Plugin/Block/elFinderBlock.php, line 36
Contains \Drupal\elfinder\Plugin\Block\elFinderBlock.

Class

elFinderBlock
Provides a 'elFinder block' block.

Namespace

Drupal\elfinder\Plugin\Block

Code

public function blockForm($form, FormStateInterface $form_state) {
  $form['elfinder_string_text'] = array(
    '#type' => 'textarea',
    '#title' => $this
      ->t('Block contents'),
    '#description' => $this
      ->t('This text will appear in the example block.'),
    '#default_value' => $this->configuration['elfinder_string'],
  );
  return $form;
}