Commit 4199e9cd authored by Matthieu Scarset's avatar Matthieu Scarset
Browse files

Fix "number of tweets to display" #3306083

parent 875581fe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ class TwitterSearchBlock extends TwitterBlockBase {
    $form['options']['count'] = [
      '#type' => 'number',
      '#title' => $this->t('Number of tweets to display'),
      '#default_value' => $config['count'] ?? 3,
      '#default_value' => $config['options']['count'] ?? 3,
      '#required' => TRUE,
      '#min' => 0,
    ];