Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $form['view_mode'] = [
- '#type' => 'select',
- '#options' => $options,
- '#title' => $this->t('View mode'),
- '#description' => $this->t('Output the block in this view mode.'),
- '#default_value' => $this->configuration['view_mode'],
- '#access' => (count($options) > 1),
- ];
Add Comment
Please, Sign In to add comment