Change record status: 
Project: 
Introduced in branch: 
8.8.x
Introduced in version: 
8.8.0
Description: 

Summary

  • Added #dropbutton_type setting to dropbutton render element
  • #dropbutton_type is a string defining a type of dropbutton variant for styling proposes. Renders as a class: dropbutton--#dropbutton_type

After:

 $form['actions']['extra_actions'] = array(
  '#type' => 'dropbutton',
  '#dropbutton_type' => 'small',
  '#links' => array(
     'demo' => array(
       'title' => $this->t('Build Demo'),
      'url' => Url::fromRoute('fapi_example.build_demo'),
    ),
  ),
);
Impacts: 
Themers